-
Notifications
You must be signed in to change notification settings - Fork 140
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
test_reconfigure_domains.py: Improve comments and readability #537
test_reconfigure_domains.py: Improve comments and readability #537
Conversation
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
5e9f987
to
818696c
Compare
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.
Build 396 of commit 818696c has completed with FAILURE
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.
A few comments
URI_PRIORITY_1 = f"bmq://{tc.DOMAIN_PRIORITY}/abcd-queue" | ||
URI_PRIORITY_2 = f"bmq://{tc.DOMAIN_PRIORITY}/qrst-queue" | ||
URI_PRIORITY_1 = f"bmq://{tc.DOMAIN_PRIORITY_SC}/abcd-queue" | ||
URI_PRIORITY_2 = f"bmq://{tc.DOMAIN_PRIORITY_SC}/qrst-queue" |
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.
Don't we want to test non-SC domain here anymore?
I am thinking if we can parametrize this with fixtures.
I am also ok if we just switch to SC here without extra work, or we can add an issue to support non-SC if it's worth it
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.
The problem of parameterize testing non-SC and SC domains exist for many integration test files. Will create an issue to support all of them
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.
Is there a significant difference in the broker logics so we are better to support both? If we don't expect differences in the logics, might just leave SC-one
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.
The difference is SC domains are more asynchronous as they need to wait for quorum of receipts from replicas, so it's more susceptible to race conditions. I will create an issue.
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.
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
74b6eb4
to
a61b854
Compare
@678098 Back to you |
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.
LGTM
Subtle improvements, and use strong consistency domain instead of eventual consistency