Skip to content

Commit

Permalink
fix: adding more wait time in test not to fail on slower platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
hangyav committed Jul 6, 2024
1 parent e62162c commit b054631
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/analysers/analyser_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def test_diagnostics_bug2(json_converter, langtool_ls_onsave):
langtool_ls_onsave.notify_did_open(
json_converter.unstructure(open_params)
)
assert done.wait(30)
assert done.wait(60)
done.clear()

change_params = DidChangeTextDocumentParams(
Expand All @@ -351,7 +351,7 @@ def test_diagnostics_bug2(json_converter, langtool_ls_onsave):
langtool_ls_onsave.notify_did_change(
json_converter.unstructure(change_params)
)
assert done.wait(30)
assert done.wait(60)
done.clear()

save_params = DidSaveTextDocumentParams(
Expand All @@ -362,7 +362,7 @@ def test_diagnostics_bug2(json_converter, langtool_ls_onsave):
langtool_ls_onsave.notify_did_save(
json_converter.unstructure(save_params)
)
assert done.wait(30)
assert done.wait(60)
done.clear()

change_params = DidChangeTextDocumentParams(
Expand All @@ -383,7 +383,7 @@ def test_diagnostics_bug2(json_converter, langtool_ls_onsave):
langtool_ls_onsave.notify_did_change(
json_converter.unstructure(change_params)
)
assert done.wait(30)
assert done.wait(60)
done.clear()

save_params = DidSaveTextDocumentParams(
Expand All @@ -394,7 +394,7 @@ def test_diagnostics_bug2(json_converter, langtool_ls_onsave):
langtool_ls_onsave.notify_did_save(
json_converter.unstructure(save_params)
)
assert done.wait(30)
assert done.wait(60)
done.clear()

exp_lst = [
Expand Down

0 comments on commit b054631

Please sign in to comment.