Skip to content

Commit

Permalink
Adjust server log reading rate
Browse files Browse the repository at this point in the history
  • Loading branch information
lochana-chathura committed Nov 22, 2024
1 parent 55d398b commit ac28a08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/oom_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ jobs:
run: |
export DISPLAY=':99.0'
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
./gradlew :jballerina-integration-test:test --no-build-cache
-Pnative.test --max-workers=2 --scan --no-daemon
./gradlew :jballerina-integration-test:test --no-build-cache --max-workers=2 --scan --no-daemon
- name: Upload heap dump
uses: actions/upload-artifact@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,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 ac28a08

Please sign in to comment.