Apply timeout and retry to test

This test seems to hang a lot in java 7.
This commit is contained in:
Tyler Benson 2019-03-14 15:44:32 -07:00
parent 0f07776191
commit 472262149c
1 changed files with 4 additions and 0 deletions

View File

@ -2,12 +2,16 @@ package datadog.trace.agent
import datadog.trace.agent.test.IntegrationTestUtils
import jvmbootstraptest.LogManagerSetter
import spock.lang.Retry
import spock.lang.Shared
import spock.lang.Specification
import spock.lang.Timeout
import java.lang.management.ManagementFactory
import java.lang.management.RuntimeMXBean
@Retry
@Timeout(30)
class CustomLogManagerTest extends Specification {
// Run all tests using forked jvm because groovy has already set the global log manager