Skip to content

Commit 0d54452

Browse files
mmorel-35Fiery-Fenix
authored andcommitted
[chore][cmd/opampsupervisor]: add precheck step in Supervisor bootstrap test (open-telemetry#39292)
#### Description add precheck step in Supervisor bootstrap test #### Link to tracking issue Fixes open-telemetry#39283 Signed-off-by: Matthieu MOREL <[email protected]>
1 parent 61a0174 commit 0d54452

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/opampsupervisor/e2e_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,8 @@ func TestSupervisorBootstrapsCollector(t *testing.T) {
626626
{
627627
name: "With service.AllowNoPipelines",
628628
cfg: "nocap",
629+
precheck: func(t *testing.T) {
630+
},
629631
},
630632
{
631633
name: "Without service.AllowNoPipelines",
@@ -643,6 +645,7 @@ func TestSupervisorBootstrapsCollector(t *testing.T) {
643645

644646
for _, tt := range tests {
645647
t.Run(tt.name, func(t *testing.T) {
648+
tt.precheck(t)
646649
agentDescription := atomic.Value{}
647650

648651
// Load the Supervisor config so we can get the location of

0 commit comments

Comments
 (0)