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) (#6815)

(cherry picked from commit 45e3abf)

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
  • Loading branch information
mergify[bot] and pkoutsovasilis authored Feb 14, 2025
1 parent d6dd86a commit c7273f9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package kubernetessecrets
import (
"context"
"fmt"
"runtime"
"sync"
"testing"
"time"
Expand Down Expand Up @@ -663,6 +664,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 c7273f9

Please sign in to comment.