Skip to content

Commit 1224dae

Browse files
committed
test: increase timeout for langserver tests
1 parent 2348b0e commit 1224dae

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ junit_suite_name = "robotcode"
187187
# log_cli_level = 4
188188
# log_cli_format = "%(levelname)s %(name)s: %(message)s"
189189
asyncio_mode = "auto"
190-
faulthandler_timeout = 10
190+
faulthandler_timeout = 30
191191

192192

193193
[tool.coverage.run]

tests/robotcode/language_server/robotframework/parts/test_document_highlight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def test(
4141
test_document,
4242
Position(line=data.line, character=data.character),
4343
),
44-
10,
44+
60,
4545
)
4646
regtest.write(
4747
yaml.dump(

tests/robotcode/language_server/robotframework/parts/test_foldingrange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def test(
7272
data: GeneratedTestData,
7373
) -> None:
7474
result = await asyncio.wait_for(
75-
run_coroutine_in_thread(protocol.robot_folding_ranges.collect, protocol.robot_folding_ranges, test_document), 10
75+
run_coroutine_in_thread(protocol.robot_folding_ranges.collect, protocol.robot_folding_ranges, test_document), 60
7676
)
7777

7878
regtest.write(yaml.dump({"data": data, "result": result}))

tests/robotcode/language_server/robotframework/parts/test_goto_definition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def test_definition(
4242
test_document,
4343
Position(line=data.line, character=data.character),
4444
),
45-
10,
45+
60,
4646
)
4747

4848
regtest.write(yaml.dump({"data": data, "result": split(result)}))

tests/robotcode/language_server/robotframework/parts/test_goto_implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async def test_implementation(
6666
test_document,
6767
Position(line=data.line, character=data.character),
6868
),
69-
10,
69+
60,
7070
)
7171

7272
regtest.write(yaml.dump({"data": data, "result": split(result)}))

tests/robotcode/language_server/robotframework/parts/test_hover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async def test(
5353
test_document,
5454
Position(line=data.line, character=data.character),
5555
),
56-
10,
56+
60,
5757
)
5858

5959
regtest.write(yaml.dump({"data": data, "result": split(result)}))

tests/robotcode/language_server/robotframework/parts/test_references.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def split(location: Location) -> Location:
4949
Position(line=data.line, character=data.character),
5050
ReferenceContext(include_declaration=True),
5151
),
52-
10,
52+
60,
5353
)
5454
regtest.write(
5555
yaml.dump(

0 commit comments

Comments
 (0)