-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Finish setup on error #5419
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
Finish setup on error #5419
Conversation
@@ -221,8 +221,7 @@ class Scheduler(schedulerId: SchedulerInstanceId, schedulerEndpoints: SchedulerE | |||
} | |||
|
|||
val topic = s"${Scheduler.topicPrefix}scheduler${schedulerId.asString}" | |||
val schedulerConsumer = | |||
msgProvider.getConsumer(config, topic, topic, maxPeek, maxPollInterval = TimeLimit.MAX_DURATION + 1.minute) | |||
val schedulerConsumer = msgProvider.getConsumer(config, topic, topic, maxPeek, maxPollInterval = TimeLimit.MAX_DURATION + 1.minute) |
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 wrongly formatted for testing.
5301b75
to
abc705a
Compare
@@ -20,6 +20,8 @@ | |||
#then echo skipping setup ; exit 0 | |||
#fi | |||
|
|||
set -e |
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.
72fbb42
to
740e265
Compare
Codecov Report
@@ Coverage Diff @@
## master #5419 +/- ##
==========================================
- Coverage 76.63% 76.47% -0.17%
==========================================
Files 241 241
Lines 14630 14630
Branches 616 616
==========================================
- Hits 11212 11188 -24
- Misses 3418 3442 +24 see 8 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
* Fast-fail on errors * Fix an indentation error * Fail the setup script on an error (cherry picked from commit 88156c3)
Description
This is to fast fail on any error.
Related issue and scope
My changes affect the following components
Types of changes
Checklist: