Exclude integration tests from normal go test

This commit is contained in:
Jakob Borg 2014-08-05 15:50:05 +02:00
parent d82caf6bd4
commit 8ce8476547
2 changed files with 4 additions and 5 deletions

View File

@ -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 (

View File

@ -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 {