Skip to content

Commit

Permalink
Merge pull request #37 from kbaseapps/dev-fix_flaky_test
Browse files Browse the repository at this point in the history
Fix flaky tests around zip file sizes
  • Loading branch information
MrCreosote authored Oct 7, 2024
2 parents dcb6361 + 2ab989b commit d5d648c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/kb_quast_server_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def test_quast_min_contig_length(self):
test_params = [
{
'min_contig_length': 50,
'expected_size': 330599,
'expected_size': 330614,
'expected_report_md5': '741b2d1dec8dbb81fe9a877c4bc1e329',
'expected_icarus_md5': '6522bf4c7a54f96b99f7097c1a6afb01'
},
Expand Down Expand Up @@ -222,8 +222,9 @@ def test_quast_large_file_force_glimmer(self):
{'path': 'data/greengenes_UnAligSeq24606_edit1.fa'}],
'make_handle': 1,
'force_glimmer': True})[0]
self.check_quast_output(ret, 350266, 'd993842bcd881592aad50a8df8925499',
'2d10706f4ecfdbbe6d5d86e8578adbfa', skip_glimmer=False)
self.check_quast_output(
ret, 350244, 'd993842bcd881592aad50a8df8925499', '2d10706f4ecfdbbe6d5d86e8578adbfa',
skip_glimmer=False, tolerance=30) # for some reason the range here is large

def test_quast_from_1_wsobj(self):
self.start_test()
Expand Down

0 comments on commit d5d648c

Please sign in to comment.