Skip to content

Commit

Permalink
Increase server log reading rate
Browse files Browse the repository at this point in the history
This will fix the ModuleExecutionFlowTests tests failures on top of the semtype runtime changes. My guess is now that runtime faster with semtypes, a faster reading rate is required.
  • Loading branch information
lochana-chathura committed Nov 22, 2024
1 parent 78fe460 commit 7a51dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public void run() {
}
feedAndPrint(s);
} else {
TimeUnit.MILLISECONDS.sleep(1);
TimeUnit.MICROSECONDS.sleep(400);
}
}
String s = bufferedReader.readLine();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Tests order of execution of listener methods.
*/
public class ModuleExecutionFlowTests extends BaseTest {
public static final int TIMEOUT = 10000;
public static final int TIMEOUT = 1000;

@Test
public void testModuleExecutionOrder() throws BallerinaTestException {
Expand Down

0 comments on commit 7a51dad

Please sign in to comment.