Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Temporary PR #43634

Open
wants to merge 2 commits into
base: nutcracker
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/integration_test_runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: RUN INTEGRATION TESTS ONLY

on:
pull_request:
branches:
- master
- nutcracker
jobs:
ubuntu_build:
name: Build with integration tests only on Windows
runs-on: windows-latest
timeout-minutes: 150
concurrency:
group: ${{ github.head_ref }}-ubuntu
cancel-in-progress: true

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21.0.3'

- name: Initialize sub-modules
run: git submodule update --init

- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ github.sha }}
restore-keys: ${{ runner.os }}-gradle

- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
packagePAT: ${{ secrets.GITHUB_TOKEN }}
run: |
export DISPLAY=':99.0'
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
./gradlew :jballerina-integration-test:test --no-build-cache --rerun-tasks
--max-workers=2 --scan --no-daemon
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(5);
TimeUnit.MICROSECONDS.sleep(300);
}
}
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 = 1000;
public static final int TIMEOUT = 2000;

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