Skip to content

Commit 5d04f80

Browse files
update
Replacing echo with logMessage and adding a few more progression logs.
1 parent ae5ebab commit 5d04f80

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Tools/CI/run_cmb_service.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,20 +133,25 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
133133
export PATH="$HOME/.cargo/bin:$PATH"
134134

135135
# Echo server -------------------------------------------------------------------
136-
echo "Beginning build..."
136+
137137
# Build the echo server
138+
logMessage "Beginning echo server build..."
138139
cargo build --example ngo_echo_server
140+
139141
# Run the echo server in the background
142+
logMessage "Running echo server tests..."
140143
cargo run --example ngo_echo_server -- --port $echo_port &
141144

142145
# CMB Service -------------------------------------------------------------------
143146

144147
# Build a release version of the standalone cmb service
148+
logMessage "Beginning service release build..."
145149
cargo build --release --locked
146150

147151
# Run the standalone service on an infinite loop in the background.
148152
# The infinite loop is required as the service will exit each time all connected clients disconnect.
149153
# This means the service will exit after each test. The infinite loop will immediately restart the service each time it exits.
154+
logMessage "Running service integration tests..."
150155
while :; do
151156
./target/release/comb-server -l error --metrics-port 5000 standalone --port $service_port -t 60m;
152157
done & # <- use & to run the entire loop in the background

0 commit comments

Comments
 (0)