From 0bdb86fc40510d0de9bc9401611e73baf8c0f330 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Tue, 23 Jan 2024 14:33:30 -0800 Subject: [PATCH] Experiment Signed-off-by: Yury-Fridlyand --- java/integTest/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) 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) {