-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add coverage for AWS SQS #1988
Add coverage for AWS SQS #1988
Conversation
⏳ All modules installed in: 40.864969336 seconds ⌛️ |
IF (NEW.name NOT LIKE '%.fifo') AND (NEW.fifo_queue) THEN | ||
RAISE EXCEPTION 'The name of a fifo queue should end with .fifo'; | ||
END IF; | ||
IF (NEW.name LIKE '%.fifo') AND (NOT NEW.fifo_queue) THEN | ||
RAISE EXCEPTION 'Non-fifo queue name should not end with .fifo'; | ||
END IF; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand why this is here, but wtf AWS. I am tempted to say "just auto add the .fifo
prefix when needed and only ban having it explicitly in here" but that could cause confusion for other modules needing to reference this name so...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AWS stuff give me 2 wtfs/hour in average. The listQueues
API has a 40 seconds cache and doesn't get invalidated even in case a new queue is created. 🤦🏻
Also, about FifoQueue
field the documentation says it's "true" | "false"
, but if you send false
string it will complain and the field should be omitted.
And the issue is there since 2020.
CodeBuild project tests are failing with this error:
|
⏳ All modules installed in: 46.337581369 seconds ⌛️ |
⏳ All modules installed in: 41.274496447 seconds ⌛️ |
Pretty consistent failure. Looks like a diffing bug https://github.com/iasql/iasql/actions/runs/4206072004/jobs/7301643249#step:9:48173 |
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
* Add `normalizePolicy` method and use it in `policiesAreSame` Signed-off-by: Mohammad Teimori Pabandi <[email protected]> * Fix styling --------- Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Co-authored-by: David Ellis <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
7641659
to
9639449
Compare
⏳ All modules installed in: 39.955264374 seconds ⌛️ |
Signed-off-by: Mohammad Teimori Pabandi <[email protected]>
⏳ All modules installed in: 44.357704971 seconds ⌛️ |
Also:
normalizePolicy
function and use it inpoliciesAreSame
function