-
Notifications
You must be signed in to change notification settings - Fork 590
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(test): fix some flaky e2e source tests #18989
Conversation
Signed-off-by: xxchan <xxchan22f@gmail.com>
Signed-off-by: xxchan <xxchan22f@gmail.com>
@@ -14,6 +14,8 @@ EOF | |||
statement ok | |||
ALTER SYSTEM SET license_key TO ''; | |||
|
|||
sleep 1s |
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.
There are also many other occurrences which may explode in the coming days, I suppose. 🤣
It's indeed possible to return the ALTER SYSTEM
statement only after the notification has been broadcast to all nodes in the cluster, but the process of receiving and handling the notification remains asynchronous. So I'm afraid we are not able to completely eliminate the flakiness.
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.
handling the notification remains asynchronous
Is it possible we make it a synchronous process on meta by altering the parameter before repling to fe?
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.
It is synchronous on meta node, but the following check is performed on the frontend IIUC.
Signed-off-by: xxchan <xxchan22f@gmail.com>
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
temporary_kafka_batch.slt
: In refactor(test): move some tests from source_legacy to source_inline #18894, we moved data generation from ci script (generate before tests) toslt
(generate inline), which may cause the test fail.glue.slt
: Alter license may not take effect immediately.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.