Skip to content

Commit

Permalink
test: try to stablize regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Dec 21, 2023
1 parent 65e1775 commit 19419b3
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ result:
character: 11
line: 1
uri: tests/external_libray.robot
- !Location
range:
end:
character: 12
line: 6
start:
character: 4
line: 6
uri: tests/external_libray.robot
- !Location
range:
end:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ result:
character: 11
line: 1
uri: tests/external_libray.robot
- !Location
range:
end:
character: 12
line: 6
start:
character: 4
line: 6
uri: tests/external_libray.robot
- !Location
range:
end:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ result:
character: 11
line: 1
uri: tests/external_libray.robot
- !Location
range:
end:
character: 12
line: 6
start:
character: 4
line: 6
uri: tests/external_libray.robot
- !Location
range:
end:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ result:
character: 11
line: 1
uri: tests/external_libray.robot
- !Location
range:
end:
character: 12
line: 6
start:
character: 4
line: 6
uri: tests/external_libray.robot
- !Location
range:
end:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ result:
character: 11
line: 1
uri: tests/external_libray.robot
- !Location
range:
end:
character: 12
line: 6
start:
character: 4
line: 6
uri: tests/external_libray.robot
- !Location
range:
end:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ result:
character: 11
line: 1
uri: tests/external_libray.robot
- !Location
range:
end:
character: 12
line: 6
start:
character: 4
line: 6
uri: tests/external_libray.robot
- !Location
range:
end:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
generate_tests_from_source_document(Path(Path(__file__).parent, "data/tests/references.robot")),
indirect=["test_document"],
ids=generate_test_id,
scope="session",
scope="module",
)
@pytest.mark.usefixtures("protocol")
@pytest.mark.asyncio()
Expand All @@ -40,7 +40,7 @@ async def test(
def split(location: Location) -> Location:
return Location("/".join(location.uri.split("/")[-2:]), location.range)

await protocol.diagnostics.ensure_workspace_loaded()
await protocol.diagnostics.workspace_loaded_event.wait(1200)

result = await asyncio.wait_for(
protocol.robot_references.collect(
Expand Down

0 comments on commit 19419b3

Please sign in to comment.