diff --git a/bbes/http/http_basic_auth_file_store.sh b/bbes/http/http_basic_auth_file_store.sh index d404c8a..7b489de 100755 --- a/bbes/http/http_basic_auth_file_store.sh +++ b/bbes/http/http_basic_auth_file_store.sh @@ -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\"}]" diff --git a/bbes/http/http_basic_auth_ldap_store.sh b/bbes/http/http_basic_auth_ldap_store.sh index 716dec5..52d741c 100755 --- a/bbes/http/http_basic_auth_ldap_store.sh +++ b/bbes/http/http_basic_auth_ldap_store.sh @@ -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\"}]" diff --git a/bbes/http/http_jwt_auth.sh b/bbes/http/http_jwt_auth.sh index c239e88..47c043f 100755 --- a/bbes/http/http_jwt_auth.sh +++ b/bbes/http/http_jwt_auth.sh @@ -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\"}]" diff --git a/bbes/http/http_mtls.sh b/bbes/http/http_mtls.sh index f2ace4a..ddbdcf7 100755 --- a/bbes/http/http_mtls.sh +++ b/bbes/http/http_mtls.sh @@ -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\"}]" diff --git a/bbes/http/http_oauth2_bearer_token.sh b/bbes/http/http_oauth2_bearer_token.sh index 60e55ea..6619dad 100755 --- a/bbes/http/http_oauth2_bearer_token.sh +++ b/bbes/http/http_oauth2_bearer_token.sh @@ -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\"}]" diff --git a/bbes/http/http_oauth2_client_credentials_grant.sh b/bbes/http/http_oauth2_client_credentials_grant.sh index 346e85a..4b550cd 100755 --- a/bbes/http/http_oauth2_client_credentials_grant.sh +++ b/bbes/http/http_oauth2_client_credentials_grant.sh @@ -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\"}]" diff --git a/bbes/http/http_oauth2_jwt_bearer_grant.sh b/bbes/http/http_oauth2_jwt_bearer_grant.sh index 0b72f1d..05981c8 100755 --- a/bbes/http/http_oauth2_jwt_bearer_grant.sh +++ b/bbes/http/http_oauth2_jwt_bearer_grant.sh @@ -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\"}]" diff --git a/bbes/http/http_oauth2_password_grant.sh b/bbes/http/http_oauth2_password_grant.sh index 411ce92..80a2f96 100755 --- a/bbes/http/http_oauth2_password_grant.sh +++ b/bbes/http/http_oauth2_password_grant.sh @@ -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\"}]" diff --git a/bbes/http/http_oauth2_refresh_token_grant.sh b/bbes/http/http_oauth2_refresh_token_grant.sh index 7505987..4a911ce 100755 --- a/bbes/http/http_oauth2_refresh_token_grant.sh +++ b/bbes/http/http_oauth2_refresh_token_grant.sh @@ -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\"}]" diff --git a/bbes/http/http_ssl_tls.sh b/bbes/http/http_ssl_tls.sh index 3e307e6..3b11c8f 100755 --- a/bbes/http/http_ssl_tls.sh +++ b/bbes/http/http_ssl_tls.sh @@ -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\"}]"