-
Notifications
You must be signed in to change notification settings - Fork 24
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
[CLC-311, CLC-314, CLC-326] DMT Updates #398
Conversation
* transition to event driven arch with ITopic
# Conflicts: # base/commands/migration/const.go # base/commands/migration/migration_start.go # base/commands/migration/stages.go
✅ Deploy Preview for eclectic-sawine-19fcf1 canceled.
|
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.
Some ideas...
Must(tcx.CLC().Execute(ctx, "status")) | ||
}) | ||
// statusRunner removes __datamigrations_in_progress list, so we should give some time to command to read it first | ||
time.Sleep(1 * time.Second) |
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.
Sleeps may cause flaky tests.
Let's use it.Eventually
instead to wait for the condition necessary to proceed.
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 is no condition to wait in here, so I cannot use Eventually
.
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.
Looks good!
No description provided.