Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaRise committed Jan 12, 2024
1 parent c6e3473 commit 2bd8b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/executor/internal/applycache/apply_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func TestApplyCacheConcurrent(t *testing.T) {
wg.Add(2)
var func1 = func() {
for i := 0; i < 100; i++ {
for true {
for {
result, err := applyCache.Get(key[0])
require.NoError(t, err)
if result != nil {
Expand All @@ -118,7 +118,7 @@ func TestApplyCacheConcurrent(t *testing.T) {
}
var func2 = func() {
for i := 0; i < 100; i++ {
for true {
for {
result, err := applyCache.Get(key[1])
require.NoError(t, err)
if result != nil {
Expand Down

0 comments on commit 2bd8b66

Please sign in to comment.