Skip to content
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

fix: Fifo properties should only be set if the queue is of type FIFO #1600

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

FelisiaM
Copy link
Member

deduplication_scope and fifo_throughput_limit do not apply for standard queues and they will throw error if attempted to be set (e.g. because there is a default)

Checklist:

  • Have you added Release Notes in the docs repositories?
  • Have you ran make run-integration-tests and make run-terraform-tests?
  • Have you ran acceptance tests for the service under change?
  • Have you followed the Conventional Commits specification?

`deduplication_scope` and `fifo_throughput_limit` do not apply for standard queues and they will throw error if attempted to be set (e.g. because there is a default)
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/187123855

The labels on this github issue will be updated when the story is started.

@FelisiaM FelisiaM marked this pull request as ready for review February 27, 2024 11:03
@FelisiaM FelisiaM merged commit c9661ca into main Feb 27, 2024
6 checks passed
)
})

It("should create a FIFO SQS queue for high throughput mode", func() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: I noticed this is not a new test. It looks like it was simply moved to a different Context block.
I would have tried to make the diffing reflect this. If not possible, I usually prefer creating a different PR or commit only for "reformatting".
I usually do this to distinguish between the absolute minimum changes, and the opportunistic improvements (which are always more than welcome).

Leaving that aside, thank you for taking the time to organise the tests into a more sensible structure.

fnaranjo-vmw added a commit that referenced this pull request Feb 27, 2024
[#187061563](https://www.pivotaltracker.com/story/show/187061563)

Related PRs:
- #1600

By adding this test, if such validation ever gets implemented
in the provider we'll know it since the test will start failing
as happened for:
#1597
FelisiaM added a commit that referenced this pull request Feb 27, 2024
These assertions were added in the following PR,
but they are make the pipeline fail (probably because those fields
are not explicitly null but empty instead)
#1600
fnaranjo-vmw added a commit that referenced this pull request Feb 27, 2024
* fix: test fifo properties are validated by the IAAS not TF

[#187061563](https://www.pivotaltracker.com/story/show/187061563)

Related PRs:
- #1600

By adding this test, if such validation ever gets implemented
in the provider we'll know it since the test will start failing
as happened for:
#1597

* Remove failing assertions

These assertions were added in the following PR,
but they are make the pipeline fail (probably because those fields
are not explicitly null but empty instead)
#1600

---------

Co-authored-by: Felisia Martini <fmartini@pivotal.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants