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 23, 2024
1 parent d7647c5 commit 0bdb86f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions java/integTest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,20 @@ 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'
// test.dependsOn 'startCluster'
test.dependsOn 'startStandalone'
startStandalone.finalizedBy 'check1'
startStandalone.finalizedBy 'check2'
test.finalizedBy 'stopAllAfterTests'

tasks.withType(Test) {
Expand Down

0 comments on commit 0bdb86f

Please sign in to comment.