-
Notifications
You must be signed in to change notification settings - Fork 344
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
Protect the platform behind a mutex #2278
Conversation
…n viper Signed-off-by: Israel Blancas <[email protected]>
Signed-off-by: Israel Blancas <[email protected]>
Signed-off-by: Israel Blancas <[email protected]>
Signed-off-by: Israel Blancas <[email protected]>
Skipping CI for Draft Pull Request. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2278 +/- ##
==========================================
+ Coverage 87.68% 87.71% +0.02%
==========================================
Files 101 102 +1
Lines 7129 7162 +33
==========================================
+ Hits 6251 6282 +31
- Misses 681 683 +2
Partials 197 197
☔ View full report in Codecov by Sentry. |
Signed-off-by: Israel Blancas <[email protected]>
@@ -68,6 +68,9 @@ func TestStartContinuesInBackground(t *testing.T) { | |||
} | |||
b := WithClients(cl, dcl, cl) | |||
|
|||
fmt.Println(viper.IsSet("auth-delegator-available")) | |||
fmt.Println(viper.GetBool("auth-delegator-available")) |
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 that a debug leftover?
@@ -85,7 +88,7 @@ func TestStartContinuesInBackground(t *testing.T) { | |||
select { | |||
case <-done: | |||
assert.False(t, viper.GetBool("auth-delegator-available")) | |||
case <-time.After(1 * time.Second): | |||
case <-time.After(5 * 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.
here we changed it from 1 to 5 s and in the next pr we change it back to 1s? seems weird to me.
Which problem is this PR solving?
Short description of the changes
Note: this work needs to be done for other settings too but will be done in follow-up PRs