diff --git a/bbes/websocket/websocket_basic_auth_file_store.sh b/bbes/websocket/websocket_basic_auth_file_store.sh index 606c897..d560b10 100755 --- a/bbes/websocket/websocket_basic_auth_file_store.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_basic_auth_ldap_store.sh b/bbes/websocket/websocket_basic_auth_ldap_store.sh index 929ddde..3adb038 100755 --- a/bbes/websocket/websocket_basic_auth_ldap_store.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_jwt_auth.sh b/bbes/websocket/websocket_jwt_auth.sh index 6865332..5b5b8c2 100755 --- a/bbes/websocket/websocket_jwt_auth.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_mtls.sh b/bbes/websocket/websocket_mtls.sh index ca48ea0..d5a1ff4 100755 --- a/bbes/websocket/websocket_mtls.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_oauth2_bearer_token.sh b/bbes/websocket/websocket_oauth2_bearer_token.sh index a340249..9c33533 100755 --- a/bbes/websocket/websocket_oauth2_bearer_token.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_oauth2_client_credentials_grant.sh b/bbes/websocket/websocket_oauth2_client_credentials_grant.sh index 45bc81c..9d1bbf0 100755 --- a/bbes/websocket/websocket_oauth2_client_credentials_grant.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_oauth2_jwt_bearer_grant.sh b/bbes/websocket/websocket_oauth2_jwt_bearer_grant.sh index c9ef21c..92d22e5 100755 --- a/bbes/websocket/websocket_oauth2_jwt_bearer_grant.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_oauth2_password_grant.sh b/bbes/websocket/websocket_oauth2_password_grant.sh index 2ec9d60..84db991 100755 --- a/bbes/websocket/websocket_oauth2_password_grant.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_oauth2_refresh_token_grant.sh b/bbes/websocket/websocket_oauth2_refresh_token_grant.sh index 05ee2a6..20dcb0a 100755 --- a/bbes/websocket/websocket_oauth2_refresh_token_grant.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?" diff --git a/bbes/websocket/websocket_ssl_tls.sh b/bbes/websocket/websocket_ssl_tls.sh index c888080..afbc193 100755 --- a/bbes/websocket/websocket_ssl_tls.sh +++ b/bbes/websocket/websocket_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" "Hello, How are you?"