Skip to content

Commit 5db3125

Browse files
aamCommit Queue
authored andcommitted
[gardening] Fix isolate_group_shared_callback_test so it allows for slow execution.
Accept the fact that on slow platforms(like android arm devices) it might take longer for callback to respond. Fixes #60700 TEST=ci Change-Id: I67e322b29aaec1cf926790b5eeba67a411a8eaec Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427801 Commit-Queue: Alexander Aprelev <[email protected]> Reviewed-by: Siva Annamalai <[email protected]>
1 parent 97dab4f commit 5db3125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ffi/isolate_group_shared_callback_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Future<void> testNativeCallableHelloWorld() async {
9696
mutexCondvar.runLocked(() {
9797
while (!resultIsReady) {
9898
conditionVariable.wait(mutexCondvar, 10 * sleepForMs);
99-
Expect.isTrue(resultIsReady);
99+
print('.');
100100
}
101101
});
102102

@@ -107,7 +107,7 @@ Future<void> testNativeCallableHelloWorld() async {
107107
mutexCondvar.runLocked(() {
108108
while (!resultIsReady) {
109109
conditionVariable.wait(mutexCondvar, 10 * sleepForMs);
110-
Expect.isTrue(resultIsReady);
110+
print('.');
111111
}
112112
});
113113
Expect.equals(42 + (1001 * 123) * 2, result);

0 commit comments

Comments
 (0)