Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
  • Loading branch information
moduli committed Oct 16, 2023
1 parent 3151c65 commit 3d5b907
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cmd/commands/server/worker_tags_reload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func TestServer_ReloadWorkerTags(t *testing.T) {
controller.WithWorkerAuthKms(workerAuthWrapper),
controller.WithRootKms(rootWrapper),
controller.WithRecoveryKms(recoveryWrapper),
controller.WithEnableEventing(),
)
t.Cleanup(testController.Shutdown)

Expand Down Expand Up @@ -154,6 +155,7 @@ pollController:
// Set new tags on worker
t.Log("Restart worker with new tags...")
cmd.presetConfig.Store(fmt.Sprintf(workerBaseConfig+tag2Config, key, testController.ClusterAddrs()[0]))
t.Logf("%s", workerBaseConfig+tag2Config)
cmd.SighupCh <- struct{}{}
select {
case <-cmd.reloadedCh:
Expand Down

0 comments on commit 3d5b907

Please sign in to comment.