Skip to content

Commit

Permalink
fix: disable kubernetes_secrets unit-test that relies on timing for w…
Browse files Browse the repository at this point in the history
…indows platform (#6805) (#6817)

(cherry picked from commit 45e3abf)

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
  • Loading branch information
mergify[bot] and pkoutsovasilis authored Feb 12, 2025
1 parent 789e843 commit 98c3126
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"context"
"errors"
"fmt"
"runtime"
"sync"
"testing"
"time"
Expand Down Expand Up @@ -662,6 +663,10 @@ func Test_UpdateCache(t *testing.T) {
}

func Test_Run(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Flaky timing on Windows")
}

testDataBuilder := secretTestDataBuilder{
namespace: "default",
name: "secret_name",
Expand Down

0 comments on commit 98c3126

Please sign in to comment.