Skip to content

Commit

Permalink
updated md5 benchmark so the minimum instance is t2.micro
Browse files Browse the repository at this point in the history
  • Loading branch information
SooLee committed Sep 16, 2017
1 parent 32458f5 commit d9311ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Benchmark/Benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def md5(input_json):
input_in_bytes = input_json.get('input_size_in_bytes').get('input_file')
input_size = input_in_bytes / GB_IN_BYTES + 3
r = BenchmarkResult(size=input_size,
mem=4,
mem=1024,
cpu=1)

return(r.as_dict())
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_benchmark1(self):
{'input_size_in_bytes': {'input_file': 200000000}})
assert 'aws' in res
assert 'recommended_instance_type' in res['aws']
assert res['aws']['recommended_instance_type'] == 't2.nano'
assert res['aws']['recommended_instance_type'] == 't2.micro'
print(res)

def test_benchmark2(self):
Expand Down

0 comments on commit d9311ce

Please sign in to comment.