Skip to content

Commit

Permalink
Apply timeout and retry to test
Browse files Browse the repository at this point in the history
This test seems to hang a lot in java 7.
  • Loading branch information
tylerbenson committed Mar 14, 2019
1 parent 0f07776 commit 4722621
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4722621

Please sign in to comment.