mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-27 10:23:37 +00:00
[WIFI-8899] catch empty simulation id
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
8
.github/workflows/uc_loadsim.yml
vendored
8
.github/workflows/uc_loadsim.yml
vendored
@@ -223,7 +223,7 @@ jobs:
|
||||
|
||||
echo "[Info] Creating simulation"
|
||||
export SIMULATION_ID="null"
|
||||
while [[ "$SIMULATION_ID" == "null" ]]; do
|
||||
while [[ "$SIMULATION_ID" == "null" ]] || [[ "$SIMULATION_ID" == "" ]]; do
|
||||
./cli createsim input_sim_info.json || true
|
||||
export SIMULATION_ID=$(cat result.json | jq '.id' -r)
|
||||
echo "[Info] Simulation ID from result file - $SIMULATION_ID"
|
||||
@@ -488,7 +488,7 @@ jobs:
|
||||
|
||||
echo "[Info] Creating simulation"
|
||||
export SIMULATION_ID="null"
|
||||
while [[ "$SIMULATION_ID" == "null" ]]; do
|
||||
while [[ "$SIMULATION_ID" == "null" ]] || [[ "$SIMULATION_ID" == "" ]]; do
|
||||
./cli createsim input_sim_info.json || true
|
||||
export SIMULATION_ID=$(cat result.json | jq '.id' -r)
|
||||
echo "[Info] Simulation ID from result file - $SIMULATION_ID"
|
||||
@@ -679,7 +679,7 @@ jobs:
|
||||
|
||||
echo "[Info] Creating simulation"
|
||||
export SIMULATION_ID="null"
|
||||
while [[ "$SIMULATION_ID" == "null" ]]; do
|
||||
while [[ "$SIMULATION_ID" == "null" ]] || [[ "$SIMULATION_ID" == "" ]]; do
|
||||
./cli createsim input_sim_info.json || true
|
||||
export SIMULATION_ID=$(cat result.json | jq '.id' -r)
|
||||
echo "[Info] Simulation ID from result file - $SIMULATION_ID"
|
||||
@@ -844,7 +844,7 @@ jobs:
|
||||
|
||||
echo "[Info] Creating simulation"
|
||||
export SIMULATION_ID="null"
|
||||
while [[ "$SIMULATION_ID" == "null" ]]; do
|
||||
while [[ "$SIMULATION_ID" == "null" ]] || [[ "$SIMULATION_ID" == "" ]]; do
|
||||
./cli createsim input_sim_info.json || true
|
||||
export SIMULATION_ID=$(cat result.json | jq '.id' -r)
|
||||
echo "[Info] Simulation ID from result file - $SIMULATION_ID"
|
||||
|
||||
Reference in New Issue
Block a user