Speedup pkg/kubelet/runonce_test.go

This commit is contained in:
Wojciech Tyczynski
2015-03-12 17:10:28 +01:00
parent a8f0139186
commit dca3db0a50
2 changed files with 7 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ import (
"fmt"
"strconv"
"testing"
"time"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
"github.com/GoogleCloudPlatform/kubernetes/pkg/client/record"
@@ -140,7 +141,7 @@ func TestRunOnce(t *testing.T) {
},
},
},
})
}, time.Millisecond)
if err != nil {
t.Errorf("unexpected error: %v", err)
}