github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/fstest/testy/testy.go (about)

     1  // Package testy contains test utilities for rclone
     2  package testy
     3  
     4  import (
     5  	"os"
     6  	"testing"
     7  )
     8  
     9  // SkipUnreliable skips this test if running on CI
    10  func SkipUnreliable(t *testing.T) {
    11  	if os.Getenv("CI") == "" {
    12  		return
    13  	}
    14  	t.Skip("Skipping Unreliable Test on CI")
    15  }