Skip to content

Commit

Permalink
Update proto definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-bradley committed Dec 12, 2023
1 parent f0a5877 commit 3e7e1d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/opampsupervisor/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func TestSupervisorRestartsCollectorAfterBadConfig(t *testing.T) {
}, 5*time.Second, 500*time.Millisecond, "Collector was not started with remote config")

require.Eventually(t, func() bool {
health := healthReport.Load().(*protobufs.AgentHealth)
health := healthReport.Load().(*protobufs.ComponentHealth)

if health != nil {
return !health.Healthy && health.LastError != ""
Expand All @@ -288,7 +288,7 @@ func TestSupervisorRestartsCollectorAfterBadConfig(t *testing.T) {
})

require.Eventually(t, func() bool {
health := healthReport.Load().(*protobufs.AgentHealth)
health := healthReport.Load().(*protobufs.ComponentHealth)

if health != nil {
return health.Healthy && health.LastError == ""
Expand Down

0 comments on commit 3e7e1d0

Please sign in to comment.