Skip to content

Commit

Permalink
Increase http 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 31324df commit 8f2fb55
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_oauth2_client_credentials_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"
2 changes: 1 addition & 1 deletion bbes/http/http_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" "[{\"title\":\"Blue Train\",\"artist\":\"John Coltrane\"},{\"title\":\"Jeru\",\"artist\":\"Gerry Mulligan\"}]"

0 comments on commit 8f2fb55

Please sign in to comment.