Skip to content

Commit 1ca2aa1

Browse files
authored
[chore][cmd/opampsupervisor] Add manual time.Sleep call (#42551)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> Updates #42458 to adapt to stretchr/testify#1427
1 parent bb8218c commit 1ca2aa1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/opampsupervisor/e2e_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,6 +2116,8 @@ func TestSupervisorRemoteConfigApplyStatus(t *testing.T) {
21162116
},
21172117
})
21182118

2119+
// TODO: Remove time.Sleep below, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/42550
2120+
time.Sleep(100 * time.Millisecond)
21192121
// Check that the status is set to APPLYING
21202122
require.Eventually(t, func() bool {
21212123
status := remoteConfigStatus.Load().(*protobufs.RemoteConfigStatus)

0 commit comments

Comments
 (0)