Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ class APISpec extends Specification {
this.interceptorManager = new InterceptorManager(className + fullTestName, testMode)
this.resourceNamer = new TestResourceNamer(className + testName, testMode, interceptorManager.getRecordedData())

// Print out the test name to create breadcrumbs in our test logging in case anything hangs.
System.out.printf("========================= %s.%s =========================%n", className, fullTestName)

// If the test doesn't have the Requires tag record it in live mode.
recordLiveMode = specificationContext.getCurrentIteration().getDescription().getAnnotation(Requires.class) == null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ class APISpec extends Specification {
this.testName = fullTestName.substring(0, substringIndex)
this.interceptorManager = new InterceptorManager(className + fullTestName, testMode)
this.resourceNamer = new TestResourceNamer(className + testName, testMode, interceptorManager.getRecordedData())

// Print out the test name to create breadcrumbs in our test logging in case anything hangs.
System.out.printf("========================= %s.%s =========================%n", className, fullTestName)

// If the test doesn't have the Requires tag record it in live mode.
recordLiveMode = specificationContext.getCurrentIteration().getDescription().getAnnotation(Requires.class) == null
connectionString = Configuration.getGlobalConfiguration().get("AZURE_STORAGE_BLOB_CONNECTION_STRING")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ class APISpec extends Specification {
// in case the upload or download open too many connections.
System.setProperty("reactor.bufferSize.x", "16")
System.setProperty("reactor.bufferSize.small", "100")
System.out.println(String.format("--------%s---------", testMode))
}

def setup() {
Expand All @@ -160,6 +159,9 @@ class APISpec extends Specification {
this.interceptorManager = new InterceptorManager(className + fullTestName, testMode)
this.resourceNamer = new TestResourceNamer(className + testName, testMode, interceptorManager.getRecordedData())

// Print out the test name to create breadcrumbs in our test logging in case anything hangs.
System.out.printf("========================= %s.%s =========================%n", className, fullTestName)

// If the test doesn't have the Requires tag record it in live mode.
recordLiveMode = specificationContext.getCurrentIteration().getDescription().getAnnotation(Requires.class) != null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ class APISpec extends Specification {
this.interceptorManager = new InterceptorManager(className + fullTestName, testMode)
this.resourceNamer = new TestResourceNamer(className + testName, testMode, interceptorManager.getRecordedData())

// Print out the test name to create breadcrumbs in our test logging in case anything hangs.
System.out.printf("========================= %s.%s =========================%n", className, fullTestName)

// If the test doesn't have the Requires tag record it in live mode.
recordLiveMode = specificationContext.getCurrentIteration().getDescription().getAnnotation(Requires.class) == null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import com.azure.core.util.Configuration
import com.azure.core.util.logging.ClientLogger
import com.azure.storage.common.StorageSharedKeyCredential
import com.azure.storage.file.share.models.ListSharesOptions
import org.junit.jupiter.api.Test
import spock.lang.Specification

import java.time.Duration
Expand Down Expand Up @@ -64,6 +63,9 @@ class APISpec extends Specification {
connectionString = "DefaultEndpointsProtocol=https;AccountName=teststorage;" +
"AccountKey=atestaccountkey;EndpointSuffix=core.windows.net"
}

// Print out the test name to create breadcrumbs in our test logging in case anything hangs.
System.out.printf("========================= %s.%s =========================%n", className, testName)
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class APISpec extends Specification {
connectionString = "DefaultEndpointsProtocol=https;AccountName=teststorage;AccountKey=atestaccountkey;" +
"EndpointSuffix=core.windows.net"
}

// Print out the test name to create breadcrumbs in our test logging in case anything hangs.
System.out.printf("========================= %s.%s =========================%n", className, testName)
}

/**
Expand Down