Skip to content

Commit

Permalink
Increase websocket BBE starting wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
ldclakmal committed Jul 31, 2023
1 parent 7d4394e commit 87dc908
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_basic_auth_file_store.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sed -i 's+../resource/path/to+resources+g' bbe/client.bal

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_basic_auth_ldap_store.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30s

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_jwt_auth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sed -i 's+../resource/path/to+resources+g' bbe/client.bal

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_mtls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sed -i 's+../resource/path/to+resources+g' bbe/client.bal

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_oauth2_bearer_token.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30s

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30s

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_oauth2_jwt_bearer_grant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30s

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_oauth2_password_grant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30s

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_oauth2_refresh_token_grant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sleep 30s

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"
2 changes: 1 addition & 1 deletion bbes/websocket/websocket_ssl_tls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sed -i 's+../resource/path/to+resources+g' bbe/client.bal

echo -e "\n--- Testing BBE ---"
bal run bbe/service.bal &
sleep 10s
sleep 20s
response=$(bal run bbe/client.bal 2>&1 | tail -n 1)
assertNotEmpty "$response"
assertEquals "$response" "Hello, How are you?"

0 comments on commit 87dc908

Please sign in to comment.