Skip to content

Commit

Permalink
Experiment
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Jan 24, 2024
1 parent c309c83 commit 8f2f912
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,10 @@ jobs:
working-directory: java
run: cargo build --release

- name: Run tcpdump
run: sudo tcpdump -i lo -w dump.pcap tcp port 6380 or tcp port 6381 &

- name: Build java part
working-directory: java
run: ./gradlew --continue build

- name: Stop tcpdump
run: sudo killall tcpdump || true

- name: Upload test reports
if: always()
continue-on-error: true
Expand Down
10 changes: 0 additions & 10 deletions java/integTest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,10 @@ tasks.register('startStandalone', Exec) {
commandLine 'python3', 'cluster_manager.py', 'start', '-p', '6380', '-r', '0'
}

tasks.register('check1', Exec) {
commandLine 'redis-cli', '-p', '6380', 'hello', '3'
}

tasks.register('check2', Exec) {
commandLine 'pgrep', '-a', 'redis-server'
}

test.dependsOn 'stopAllBeforeTests'
stopAllBeforeTests.finalizedBy 'clearDirs'
clearDirs.dependsOn 'startStandalone'
clearDirs.dependsOn 'startCluster'
startStandalone.finalizedBy 'check1'
startStandalone.finalizedBy 'check2'
test.finalizedBy 'stopAllAfterTests'

tasks.withType(Test) {
Expand Down

0 comments on commit 8f2f912

Please sign in to comment.