mirror of
https://github.com/enso-org/enso.git
synced 2024-11-23 08:08:34 +03:00
Set default timeouts in incremental updates test (#9053)
Fix random failures of `IncrementalUpdatesTest` on CI https://github.com/enso-org/enso/actions/runs/7885050954/job/21515333651#step:8:5274
This commit is contained in:
parent
08584b0423
commit
702e6c1bb8
@ -263,7 +263,7 @@ public class IncrementalUpdatesTest {
|
||||
new Vector1<>(new String[] {"0"})))));
|
||||
|
||||
assertSameElements(
|
||||
context.receiveNIgnorePendingExpressionUpdates(4, 10, emptySet()),
|
||||
context.receiveNIgnorePendingExpressionUpdates(4, 60, emptySet()),
|
||||
Response(requestId, new Runtime$Api$PushContextResponse(contextId)),
|
||||
TestMessages.update(
|
||||
contextId,
|
||||
@ -286,7 +286,7 @@ public class IncrementalUpdatesTest {
|
||||
new Runtime$Api$PushContextRequest(
|
||||
contextId, new Runtime$Api$StackItem$LocalCall(mainFoo))));
|
||||
assertSameElements(
|
||||
context.receiveNIgnorePendingExpressionUpdates(4, 10, emptySet()),
|
||||
context.receiveNIgnorePendingExpressionUpdates(4, 60, emptySet()),
|
||||
Response(requestId, new Runtime$Api$PushContextResponse(contextId)),
|
||||
TestMessages.update(contextId, fooX, exprType),
|
||||
TestMessages.update(contextId, fooRes, exprType),
|
||||
@ -327,7 +327,7 @@ public class IncrementalUpdatesTest {
|
||||
new model.Position(3, 8 + originalText.length())),
|
||||
newText)),
|
||||
true)));
|
||||
return context.receiveNIgnorePendingExpressionUpdates(1, 10, emptySet());
|
||||
return context.receiveNIgnorePendingExpressionUpdates(1, 60, emptySet());
|
||||
}
|
||||
|
||||
private List<Runtime$Api$Response> sendExpressionValue(String originalText, String newText) {
|
||||
@ -344,7 +344,7 @@ public class IncrementalUpdatesTest {
|
||||
newText)),
|
||||
UUID.randomUUID(),
|
||||
newText)));
|
||||
return context.receiveNIgnoreExpressionUpdates(1, 10);
|
||||
return context.receiveNIgnoreExpressionUpdates(1, 60);
|
||||
}
|
||||
|
||||
private <T extends Node> T findLiteralNode(
|
||||
|
Loading…
Reference in New Issue
Block a user