From 8ce847654764ba4aa12396f9490e39ad19d92ad2 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 5 Aug 2014 15:50:05 +0200 Subject: [PATCH] Exclude integration tests from normal go test --- integration/common_test.go | 2 ++ integration/reconnect_test.go | 7 ++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/integration/common_test.go b/integration/common_test.go index d5b8318e..935efd95 100644 --- a/integration/common_test.go +++ b/integration/common_test.go @@ -2,6 +2,8 @@ // All rights reserved. Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file. +// +build integration + package integration_test import ( diff --git a/integration/reconnect_test.go b/integration/reconnect_test.go index 56e92973..558d9b13 100644 --- a/integration/reconnect_test.go +++ b/integration/reconnect_test.go @@ -2,6 +2,8 @@ // All rights reserved. Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file. +// +build integration + package integration_test import ( @@ -37,11 +39,6 @@ func TestRestartSenderDuringTransfer(t *testing.T) { } func testRestartDuringTransfer(t *testing.T, restartSender, restartReceiver bool, senderDelay, receiverDelay time.Duration) { - if testing.Short() { - t.Skip("skipping integration test") - return - } - t.Log("Cleaning...") err := removeAll("s1", "s2", "f1/index", "f2/index") if err != nil {