Adding sleeps and simpler mmd match condition to try and improve test reliability

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
This commit is contained in:
Paul Yuknewicz 2023-05-31 15:33:18 -07:00
parent a839430820
commit f0dd16f69a
10 changed files with 10 additions and 14 deletions

View File

@ -37,7 +37,6 @@ docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102"
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId1: {"orderId1":{"value":"101"}}'
- '== APP == Configuration for orderId2: {"orderId2":{"value":"102"}}'
- '== APP == App subscribed to config changes with subscription id:'
- '== APP == App unsubscribed from config updates'
@ -45,6 +44,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -35,7 +35,6 @@ docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102"
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId1: {"Value":"101","Version":"","Metadata":{}}'
- '== APP == Configuration for orderId2: {"Value":"102","Version":"","Metadata":{}}'
- '== APP == App subscribed to config changes with subscription id:'
- '== APP == App unsubscribed from config changes'
@ -43,7 +42,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 60
sleep: 120
-->
```bash

View File

@ -37,7 +37,6 @@ docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102"
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId1: {"orderId1":{"value":"101"}}'
- '== APP == Configuration for orderId2: {"orderId2":{"value":"102"}}'
- '== APP == App subscribed to config changes with subscription id:'
- '== APP == Shutting down HTTP server'
@ -46,7 +45,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -35,7 +35,6 @@ docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102"
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId1: {"Value":"101","Version":"","Metadata":null}'
- '== APP == Configuration for orderId2: {"Value":"102","Version":"","Metadata":null}'
- '== APP == App subscribed to config changes with subscription id:'
- '== APP == App unsubscribed to config changes'
@ -43,6 +42,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -56,7 +56,6 @@ mvn clean install
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId1:{"orderId1":{"value":"101"}}'
- '== APP == Configuration for orderId2:{"orderId2":{"value":"102"}}'
- '== APP == App subscribed to config changes with subscription id:'
- '= APP == App unsubscribed from config changes'
@ -65,7 +64,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -54,7 +54,6 @@ mvn clean install
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- "== APP == Configuration for orderId1: {'value':'101'}"
- "== APP == Configuration for orderId2: {'value':'102'}"
- '== APP == App subscribed to config changes with subscription id:'
- '== APP == App unsubscribed to config changes'
@ -62,7 +61,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -49,7 +49,6 @@ npm install
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- "== APP == Configuration for orderId1: { orderId1: { value: '101' } }"
- "== APP == Configuration for orderId2: { orderId2: { value: '102' } }"
- '== APP == App subscribed to config changes with subscription id:'
- '== APP == App unsubscribed from config changes'
@ -57,6 +56,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -47,13 +47,13 @@ npm install
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId1: {"key":"orderId1","value":'
- '== APP == Configuration for orderId2: {"key":"orderId2","value":'
- '== APP == App unsubscribed to config changes'
- "Exited App successfully"
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -48,7 +48,6 @@ pip3 install -r requirements.txt
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- "== APP == INFO:root:Configuration for orderId1: {'orderId1': {'value': '101'}}"
- "== APP == INFO:root:Configuration for orderId2: {'orderId2': {'value': '102'}}"
- "== APP == INFO:root:App subscribed to config changes with subscription id:"
- 'App unsubscribed from config changes'
@ -56,6 +55,7 @@ expected_stdout_lines:
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash

View File

@ -47,13 +47,13 @@ pip3 install -r requirements.txt
<!-- STEP
name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId1 : value: "101"'
- '== APP == Configuration for orderId2 : value: "102"'
- '== APP == App unsubscribed from config changes'
- "Exited App successfully"
expected_stderr_lines:
output_match_mode: substring
match_order: none
sleep: 120
-->
```bash