Skip to content

Commit ec27ee2

Browse files
Punakshipchaand
authored andcommitted
MESH-5873,5474: Add logging context to VS reconciliation and remove NLB idle timeout setting
Signed-off-by: pchaand <[email protected]>
1 parent f033135 commit ec27ee2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

admiral/pkg/clusters/virtualservice_routing_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5245,13 +5245,17 @@ func TestDoReconcileVirtualService(t *testing.T) {
52455245
expectedError: nil,
52465246
},
52475247
}
5248+
ctxLogger := log.WithFields(log.Fields{
5249+
"type": "VirtualService",
5250+
})
52485251

52495252
for _, tc := range testCases {
52505253
t.Run(tc.name, func(t *testing.T) {
52515254
actual, err := doReconcileVirtualService(
5255+
ctxLogger,
52525256
tc.rc,
52535257
tc.desiredVS,
5254-
tc.comparator)
5258+
tc.comparator, "")
52555259
if tc.expectedError != nil {
52565260
assert.NotNil(t, err)
52575261
assert.Equal(t, tc.expectedError.Error(), err.Error())

0 commit comments

Comments
 (0)