Skip to content

Commit e1b16dc

Browse files
committed
fix test
1 parent 2b54707 commit e1b16dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/dataplane_status_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func TestDPSSyncAgentConfigChange(t *testing.T) {
239239
Tags: tutils.InitialConfTags,
240240
Features: config.Defaults.Features,
241241
},
242-
updatedTags: false,
242+
updatedTags: true,
243243
},
244244
}
245245
processID := "12345"
@@ -288,7 +288,7 @@ func TestDPSSyncAgentConfigChange(t *testing.T) {
288288
// Attempt update & check results
289289
updated, err := config.UpdateAgentConfig("12345", tc.expUpdatedConfig.Tags, tc.expUpdatedConfig.Features)
290290
assert.Nil(t, err)
291-
assert.Equal(t, updated, tc.updatedTags)
291+
assert.Equal(t, tc.updatedTags, updated)
292292

293293
// Create message that should trigger a sync agent config call
294294
msg := core.NewMessage(core.AgentConfigChanged, "")

0 commit comments

Comments
 (0)