File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -133,20 +133,25 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
133133export 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..."
138139cargo build --example ngo_echo_server
140+
139141# Run the echo server in the background
142+ logMessage " Running echo server tests..."
140143cargo 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..."
145149cargo 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..."
150155while : ; do
151156 ./target/release/comb-server -l error --metrics-port 5000 standalone --port $service_port -t 60m;
152157done & # <- use & to run the entire loop in the background
You can’t perform that action at this time.
0 commit comments