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)

(cherry picked from commit 45e3abf)
  • Loading branch information
pkoutsovasilis committed Feb 14, 2025
1 parent d6dd86a commit d1ed770
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 d1ed770

Please sign in to comment.