Enable mode 3 for remaining tests

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
This commit is contained in:
Maicon Costa
2025-07-23 21:53:46 -03:00
parent 071495380a
commit 22273f4214
@@ -133,7 +133,7 @@ func TestIntegrationDashboardAPIAuthorization(t *testing.T) {
}
// TODO: rest.Mode3 is failing on dashboard creation, so we skip it for now
dualWriterModes := []rest.DualWriterMode{rest.Mode0, rest.Mode1, rest.Mode2, rest.Mode4, rest.Mode5}
dualWriterModes := []rest.DualWriterMode{rest.Mode0, rest.Mode1, rest.Mode2, rest.Mode3, rest.Mode4, rest.Mode5}
for _, dualWriterMode := range dualWriterModes {
t.Run(fmt.Sprintf("DualWriterMode %d", dualWriterMode), func(t *testing.T) {
helper := apis.NewK8sTestHelper(t, testinfra.GrafanaOpts{
@@ -183,8 +183,7 @@ func TestIntegrationDashboardAPI(t *testing.T) {
t.Skip("skipping integration test")
}
// TODO: rest.Mode3 is failing on dashboard creation, so we skip it for now
dualWriterModes := []rest.DualWriterMode{rest.Mode0, rest.Mode1, rest.Mode2, rest.Mode4, rest.Mode5}
dualWriterModes := []rest.DualWriterMode{rest.Mode0, rest.Mode1, rest.Mode2, rest.Mode3, rest.Mode4, rest.Mode5}
for _, dualWriterMode := range dualWriterModes {
t.Run(fmt.Sprintf("DualWriterMode %d", dualWriterMode), func(t *testing.T) {
// Create a K8sTestHelper which will set up a real API server