Add monitor session job proto and controller changes
This adds a new Job type that is for generic session state monitoring. Monitoring sessions does not include any information about specific connections.
This commit is contained in:
1 parent
4d60f42210
commit
bc48f2d0e0
10 files changed
+851
-320
No files matched your search
@@ -93,19 +93,6 @@ func Test_TestController(t *testing.T) {
|
||||
|
||||
ws := tc.Kms().GetExternalWrappers(testCtx)
|
||||
|
||||
assert.NotNil(ws.Root())
|
||||
assert.NotNil(ws.WorkerAuth())
|
||||
assert.NotNil(ws.Recovery())
|
||||
assert.NotNil(ws.Bsr())
|
||||
})
|
||||
t.Run("controller-external-wrappers", func(t *testing.T) {
|
||||
testCtx := context.Background()
|
||||
assert := assert.New(t)
|
||||
tc := NewTestController(t, nil)
|
||||
defer tc.Shutdown()
|
||||
|
||||
ws := tc.Kms().GetExternalWrappers(testCtx)
|
||||
|
||||
assert.NotNil(ws.Root())
|
||||
assert.NotNil(ws.WorkerAuth())
|
||||
assert.NotNil(ws.Recovery())
|
||||
|
||||
Reference in new issue
Block a user