[object Object]

← back to Exo

change the message we search for in ci

115f0eacb2d669aca4f39fcfd343e825749ff635 · 2024-09-24 19:45:11 +0100 · Alex Cheema

Files touched

Diff

commit 115f0eacb2d669aca4f39fcfd343e825749ff635
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Tue Sep 24 19:45:11 2024 +0100

    change the message we search for in ci
---
 .circleci/config.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 15849926..5b76fe48 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -144,7 +144,7 @@ jobs:
             PID2=$!
             sleep 10
             kill $PID1 $PID2
-            if grep -q "Successfully connected peers: \['node2@.*:.*'\]" output1.log && ! grep -q "Failed to connect peers:" output1.log && grep -q "Successfully connected peers: \['node1@.*:.*'\]" output2.log && ! grep -q "Failed to connect peers:" output2.log; then
+            if grep -q "Peer statuses: {\\'node2\\': \\'is_connected=True, health_check=True" output1.log && ! grep -q "Failed to connect peers:" output1.log && grep -q "Peer statuses: {\\'node1\\': \\'is_connected=True, health_check=True" output2.log && ! grep -q "Failed to connect peers:" output2.log; then
               echo "Test passed: Both instances discovered each other"
               exit 0
             else

← 428bb606 health check udp discovered peers before adding them  ·  back to Exo  ·  update resources classes c770f19a →