Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinkle23897 committed Feb 24, 2022
1 parent be5589f commit ebee657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/base/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_async_env(size=10000, num=8, sleep=0.1):
Batch.cat(o)
v.close()
# assure 1/7 improvement
if sys.platform != "darwin": # macOS cannot pass this check
if sys.platform == "linux": # macOS/Windows cannot pass this check
assert spent_time < 6.0 * sleep * num / (num + 1)


Expand Down

0 comments on commit ebee657

Please sign in to comment.