address op state review feedback (#2453)
* address op state review feedback
This commit is contained in:
1 parent
c73a13aa3e
commit
821d8317dc
6 files changed
+122
-55
No files matched your search
@@ -198,8 +198,8 @@ func Test_GetOpts(t *testing.T) {
|
||||
})
|
||||
t.Run("WithExcludeShutdown", func(t *testing.T) {
|
||||
opts := getDefaultOptions()
|
||||
assert.Empty(t, opts.withExcludeShutdownWorkers)
|
||||
opts = GetOpts(WithExcludeShutdownWorkers(true))
|
||||
assert.Equal(t, true, opts.withExcludeShutdownWorkers)
|
||||
assert.Empty(t, opts.withActiveWorkers)
|
||||
opts = GetOpts(WithActiveWorkers(true))
|
||||
assert.Equal(t, true, opts.withActiveWorkers)
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user