Skip to content

Commit

Permalink
Skip binary check if preload exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
andriyDev committed May 26, 2021
1 parent 89a6820 commit a89d404
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/aaa_download_only_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ func TestDownloadOnly(t *testing.T) {
})

t.Run("binaries", func(t *testing.T) {
if preloadExists {
t.Skip("Preload exists, binaries are present within.")
}
// checking binaries downloaded (kubelet,kubeadm)
for _, bin := range constants.KubernetesReleaseBinaries {
fp := filepath.Join(localpath.MiniPath(), "cache", "linux", v, bin)
Expand Down

0 comments on commit a89d404

Please sign in to comment.