Fixes after review of improved errors #436
❌️ 2019.4.40f1-playmode Test Results - 28/46, skipped: 10, failed: 8 - Failed in 18.125s
❌️ playmode-results.xml - 28/46, skipped: 10, failed: 8 - Failed in 18.125s
Details
❌️ playmode-results.xml - 28/46, skipped: 10, failed: 8 - Failed in 18.125s
-
❌️ Tests.AppleSignInTests - 0/4, skipped: 2, failed: 2 - Failed in 1.768s
-
⚠️ RefreshAppleSessionWhenSignedInSucceeds - Skipped -
❌️ RefreshAppleSessionWithInvalidTokenFails - Failed in 0.848s
Response code wrong, expected 400 but was 401
Expected: 400
But was: 401SDK is Initializing SDK is Initializing SDK is Initialized Caller Type: User ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"} Server Response: 401 session/apple completed in 0.5678 secs. Response: {"message":"Could not start apple session","request_id":"c741ad35-d4bb-41ee-bce4-fda271ad4e33","trace_id":"b9010d82a56f61997bb9dc6bb01d3836"} Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"c741ad35-d4bb-41ee-bce4-fda271ad4e33","trace_id":"b9010d82a56f61997bb9dc6bb01d3836"} at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
⚠️ StartAppleSessionSucceedsAndProvidesRefreshToken - Skipped -
❌️ StartAppleSessionWithInvalidAuthorizationCodeFails - Failed in 0.918s
Failed Sign In
Expected: 400
But was: 401Caller Type: User ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"} Server Response: 401 session/apple completed in 0.8909 secs. Response: {"message":"Could not start apple session","request_id":"9eccc16c-7ea4-4abb-a091-261ffada6d35","trace_id":"8d380d267a844d05b48483bfe210c807"} Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"9eccc16c-7ea4-4abb-a091-261ffada6d35","trace_id":"8d380d267a844d05b48483bfe210c807"} at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
-
⚠️ Tests.GoogleSignInTests - 0/4, skipped: 4 - Passed in 0.000s⚠️ RefreshGoogleSessionWhenSignedInSucceeds - Skipped⚠️ RefreshGoogleSessionWithInvalidTokenFails - Skipped⚠️ StartGoogleSessionSucceedsAndProvidesRefreshToken - Skipped⚠️ StartGoogleSessionWithInvalidAuthorizationCodeFails - Skipped
-
✅ Tests.GuestLoginTest - 1/1 - Passed in 1.168s
- ✅ GuestUserCanLogIn - Passed in 1.168s
-
✅ Tests.JsonTests - 10/10 - Passed in 0.089s
- ✅ JsonTestsSimplePasses - Passed in 0.022s
- ✅ SDKCanDeserializeComplexArrayObjectsJson - Passed in 0.024s
- ✅ SDKCanDeserializeJson - Passed in 0.002s
- ✅ SDKCanDeserializeMultidimensionalArrayObjectsJson - Passed in 0.002s
- ✅ SDKCanSerializeJson - Passed in 0.002s
- ✅ SDKCanSerializeMultidimensionalArrayObjectsJson - Passed in 0.001s
- ✅ TestCyclic - Passed in 0.006s
- ✅ TestCyclicCustom - Passed in 0.003s
- ✅ TestDictionary - Passed in 0.025s
- ✅ TestList - Passed in 0.002s
-
✅ Tests.PingTest - 1/1 - Passed in 1.738s
- ✅ BackendCanBePinged - Passed in 1.738s
-
✅ Tests.PlayerFilesTests - 1/1 - Passed in 4.551s
- ✅ PlayerFileCanBeCreatedWithPathUpdatedAndThenDeleted - Passed in 4.551s
-
✅ Tests.PlayerHandlingTests - 1/1 - Passed in 1.409s
- ✅ PlayerCanBeCreatedAndDeleted - Passed in 1.409s
-
✅ Tests.RateLimiterTests - 11/11 - Passed in 0.648s
- ✅ AfterHavingBeenSetOffTheRateLimitingCancelsAfter3Minutes - Passed in 0.073s
- ✅ ConstantRequestsBelowTripWireStillHitsMovingAverageRateLimit - Passed in 0.036s
- ✅ ExcessiveQuickSuccessionRequestsHitsTripwireRateLimit - Passed in 0.036s
- ✅ FrequentSmallBurstsDoesNotHitRateLimit - Passed in 0.024s
- ✅ InfrequentLargeBurstsDoesNotHitRateLimit - Passed in 0.023s
- ✅ LowLevelBackgroundRequestsWithIntermittentBurstsHitsRateLimit - Passed in 0.088s
- ✅ NormalAmountOfAverageRequestsDoesNotHitRateLimit - Passed in 0.024s
- ✅ SuddenHugeBurstAboveLimitTriggersRateLimit - Passed in 0.146s
- ✅ SuddenHugeBurstBelowLimitDoesNotTriggerRateLimit - Passed in 0.026s
- ✅ SuddenHugeBurstBelowLimitFollowedByAFewRequestsTriggersRateLimit - Passed in 0.149s
- ✅ UndulatingLowLevelOfRequestsDoesNotHitRateLimit - Passed in 0.022s
-
❌️ Tests.RefreshTests - 1/2, failed: 1 - Failed in 3.880s
- ✅ SDKAutomaticallyRefreshesExpiredSessionWhenEnabled - Passed in 3.459s
- ❌️ SDKDoesNotAutomaticallyRefreshesExpiredSessionWhenDisabled - Failed in 0.420s
-
⚠️ Tests.SubmitScoresWithGuestLogin - 0/1, skipped: 1 - Passed in 0.000s⚠️ TestResponsesAreAsExpectedForAllLeaderboardsAndPlayers - Skipped
-
❌️ Tests.WhiteLabelLoginTests - 2/10, skipped: 3, failed: 5 - Failed in 2.760s
-
⚠️ RequestEmailVerificationByEmailSucceeds - Skipped -
⚠️ RequestEmailVerificationSucceeds - Skipped -
✅ RequestPasswordResetSucceeds - Passed in 0.451s
-
✅ WhiteLabelCheckSessionFailsWhenNoSessionExists - Passed in 0.024s
-
❌️ WhiteLabelCheckSessionSucceeds - Failed in 0.440s
-
❌️ WhiteLabelCheckSessionWithEmailAndTokenSucceeds - Failed in 0.442s
-
❌️ WhiteLabelCheckSessionWithWrongEmailFails - Failed in 0.429s
Prerequisite start session failed, status code not 200
Expected: 200
But was: 429ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/white-label-login/login REQUEST BODY = {"email":"\"er**********************io\"","password":"**********","remember":false} Server Response: 429 white-label-login/login completed in 0.4064 secs. Response: {"error":"too many requests","success":false} Too Many Requests -- You're being limited for sending too many requests too quickly. {"error":"too many requests","success":false} at Tests.WhiteLabelLoginTests+<WhiteLabelCheckSessionWithWrongEmailFails>d__12.MoveNext () [0x000b8] in tests~/Assets/Tests/PlayModeTests/WhiteLabelTests.cs:340 at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
-
❌️ WhiteLabelLoginAndSessionStartFromSavedStateSucceeds - Failed in 0.529s
-
❌️ WhiteLabelLoginAndStartSessionSucceeds - Failed in 0.445s
-
⚠️ WhiteLabelSignUpSucceeds - Skipped
-
Annotations
Check failure on line 54 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs
github-actions / 2019.4.40f1-playmode Test Results
Tests.AppleSignInTests.RefreshAppleSessionWithInvalidTokenFails
Response code wrong, expected 400 but was 401
Expected: 400
But was: 401
Raw output
SDK is Initializing
SDK is Initializing
SDK is Initialized
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 0.5678 secs.
Response: {"message":"Could not start apple session","request_id":"c741ad35-d4bb-41ee-bce4-fda271ad4e33","trace_id":"b9010d82a56f61997bb9dc6bb01d3836"}
Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"c741ad35-d4bb-41ee-bce4-fda271ad4e33","trace_id":"b9010d82a56f61997bb9dc6bb01d3836"}
at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
Check failure on line 140 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs
github-actions / 2019.4.40f1-playmode Test Results
Tests.AppleSignInTests.StartAppleSessionWithInvalidAuthorizationCodeFails
Failed Sign In
Expected: 400
But was: 401
Raw output
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 0.8909 secs.
Response: {"message":"Could not start apple session","request_id":"9eccc16c-7ea4-4abb-a091-261ffada6d35","trace_id":"8d380d267a844d05b48483bfe210c807"}
Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"9eccc16c-7ea4-4abb-a091-261ffada6d35","trace_id":"8d380d267a844d05b48483bfe210c807"}
at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
Check failure on line 340 in tests~/Assets/Tests/PlayModeTests/WhiteLabelTests.cs
github-actions / 2019.4.40f1-playmode Test Results
Tests.WhiteLabelLoginTests.WhiteLabelCheckSessionWithWrongEmailFails
Prerequisite start session failed, status code not 200
Expected: 200
But was: 429
Raw output
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/white-label-login/login
REQUEST BODY = {"email":"\"er**********************io\"","password":"**********","remember":false}
Server Response: 429 white-label-login/login completed in 0.4064 secs.
Response: {"error":"too many requests","success":false}
Too Many Requests -- You're being limited for sending too many requests too quickly. {"error":"too many requests","success":false}
at Tests.WhiteLabelLoginTests+<WhiteLabelCheckSessionWithWrongEmailFails>d__12.MoveNext () [0x000b8] in /github/workspace/tests~/Assets/Tests/PlayModeTests/WhiteLabelTests.cs:340
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46