Closed Comoque1 closed 1 week ago
After spending some times the issue happens on Account / Space creation.
If you perform the mutation below, multiple times you are going to hit the error: Duplicate entry 'bd8e1315-c379-4746-b007-5b0207dfefd4' for key 'authorization_policy.PRIMARY'
mutation CreateAccount($accountData: CreateAccountInput!) {
createAccount(accountData: $accountData) {
id
spaceID
}
}
{
"accountData": {
"hostID": "b5361ba4-12bb-4f61-aa74-1a4ff35fdaf5",
"spaceData": {
"nameID": "112",
"profileData": {
"displayName": "112"
}
}
}
}
Describe the bug When running Space tests, they behaved unstable with latest server changes. There is one function containing 3:
The issue happens, when trying to return the space id. Worked around the tests by putting a delay
To Reproduce Steps to reproduce the behavior:
Additional information
The error is related to setting authorization policy again:
That is the actual error thrown by the server / MySQL.
Expected behavior Tests are robust, without a delay.