@camunda/e2e-test-suite 0.0.1167 → 0.0.1168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -414,11 +414,11 @@ _curl_common() {
414
414
  --retry 3 --retry-delay 1 --retry-connrefused --retry-all-errors \
415
415
  -i -s -H 'Expect:' "$@")"
416
416
  gw_status="$(echo "$gw_response" | grep -m1 -E '^HTTP/[0-9.]+' | awk '{print $2}' || true)"
417
- if { [[ -n "$gw_status" && "$gw_status" != "502" \
418
- && "$gw_status" != "503" && "$gw_status" != "504" ]] \
419
- || { [[ "$gw_status" == "503" \
420
- && "$gw_response" != *'<center>nginx</center>'* ]]; } \
421
- || (( gw_attempt >= gw_max )); then
417
+ if [[ -n "$gw_status" && "$gw_status" != "502" \
418
+ && "$gw_status" != "503" && "$gw_status" != "504" ]] \
419
+ || [[ "$gw_status" == "503" \
420
+ && "$gw_response" != *'<center>nginx</center>'* ]] \
421
+ || (( gw_attempt >= gw_max )); then
422
422
  printf '%s\n' "$gw_response"
423
423
  return 0
424
424
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1167",
3
+ "version": "0.0.1168",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",
@@ -414,11 +414,11 @@ _curl_common() {
414
414
  --retry 3 --retry-delay 1 --retry-connrefused --retry-all-errors \
415
415
  -i -s -H 'Expect:' "$@")"
416
416
  gw_status="$(echo "$gw_response" | grep -m1 -E '^HTTP/[0-9.]+' | awk '{print $2}' || true)"
417
- if { [[ -n "$gw_status" && "$gw_status" != "502" \
418
- && "$gw_status" != "503" && "$gw_status" != "504" ]] \
419
- || { [[ "$gw_status" == "503" \
420
- && "$gw_response" != *'<center>nginx</center>'* ]]; } \
421
- || (( gw_attempt >= gw_max )); then
417
+ if [[ -n "$gw_status" && "$gw_status" != "502" \
418
+ && "$gw_status" != "503" && "$gw_status" != "504" ]] \
419
+ || [[ "$gw_status" == "503" \
420
+ && "$gw_response" != *'<center>nginx</center>'* ]] \
421
+ || (( gw_attempt >= gw_max )); then
422
422
  printf '%s\n' "$gw_response"
423
423
  return 0
424
424
  fi