From ff307151cb789f5972cff6badb33776123dfecbd Mon Sep 17 00:00:00 2001 From: tyru Date: Mon, 1 Jan 2018 06:58:05 +0900 Subject: [PATCH] Skip self-upgrade tests TODO: #150 --- cmd/self_upgrade_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/self_upgrade_test.go b/cmd/self_upgrade_test.go index c4afd3d0..ad70a38b 100644 --- a/cmd/self_upgrade_test.go +++ b/cmd/self_upgrade_test.go @@ -10,7 +10,7 @@ import ( ) func TestVoltSelfUpgrade(t *testing.T) { - if runtime.Version() != "go1.9" { + if os.Getenv("DO_TEST_SELF_UPGRADE") == "" { t.Skip("skip tests of self-upgrade due to rate limit of GitHub API") } // Calling subtests serially to control execution order.