diff --git a/java/integTest/build.gradle b/java/integTest/build.gradle index 259c7ecf08..292d4247a7 100644 --- a/java/integTest/build.gradle +++ b/java/integTest/build.gradle @@ -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) {