tests: IsTravis() -> IsCI()

Replace IsTravis() references that is intended for more CI environments
rather than for Travis environment specifically.
This commit is contained in:
Mahmood Ali
2019-02-20 07:52:27 -05:00
parent e7fbdf4032
commit d6250ec0d6
9 changed files with 66 additions and 66 deletions

View File

@@ -34,7 +34,7 @@ func javaCompatible(t *testing.T) {
func TestJavaDriver_Fingerprint(t *testing.T) {
javaCompatible(t)
if !testutil.IsTravis() {
if !testutil.IsCI() {
t.Parallel()
}
@@ -56,7 +56,7 @@ func TestJavaDriver_Fingerprint(t *testing.T) {
func TestJavaDriver_Jar_Start_Wait(t *testing.T) {
javaCompatible(t)
if !testutil.IsTravis() {
if !testutil.IsCI() {
t.Parallel()
}
@@ -96,7 +96,7 @@ func TestJavaDriver_Jar_Start_Wait(t *testing.T) {
func TestJavaDriver_Jar_Stop_Wait(t *testing.T) {
javaCompatible(t)
if !testutil.IsTravis() {
if !testutil.IsCI() {
t.Parallel()
}
@@ -157,7 +157,7 @@ func TestJavaDriver_Jar_Stop_Wait(t *testing.T) {
func TestJavaDriver_Class_Start_Wait(t *testing.T) {
javaCompatible(t)
if !testutil.IsTravis() {
if !testutil.IsCI() {
t.Parallel()
}