Skip to content

Commit 8cf6661

Browse files
dependabot[bot]github-actions[bot]Copilotrajkumar-rangarajxiang17
authored
Bump com.github.jk1.dependency-license-report from 3.1.2 to 3.1.4 (#4746)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rajkumar-rangaraj <9479006+rajkumar-rangaraj@users.noreply.github.com> Co-authored-by: xiang17 <9310587+xiang17@users.noreply.github.com> Co-authored-by: Sean Li <xili9@microsoft.com>
1 parent b5552e3 commit 8cf6661

4 files changed

Lines changed: 138 additions & 129 deletions

File tree

‎agent/instrumentation/micrometer-1.0/src/test/java/MicrometerTest.java‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import java.util.concurrent.ExecutorService;
2424
import java.util.concurrent.Executors;
2525
import java.util.stream.Collectors;
26+
import org.awaitility.Awaitility;
27+
import org.junit.jupiter.api.BeforeAll;
2628
import org.junit.jupiter.api.Disabled;
2729
import org.junit.jupiter.api.Test;
2830

@@ -35,6 +37,13 @@ class MicrometerTest {
3537
MicrometerUtil.setDelegate(delegate);
3638
}
3739

40+
@BeforeAll
41+
static void setUp() {
42+
// Increase default timeout to be resilient on slow CI runners (e.g. Windows).
43+
// The step interval is 1000ms (set via JVM arg), so 30s gives ample margin.
44+
Awaitility.setDefaultTimeout(Duration.ofSeconds(30));
45+
}
46+
3847
@Test
3948
void shouldRegisterAzureMonitorMeterRegistry() {
4049
assertThat(Metrics.globalRegistry.getRegistries()).hasSize(1);

‎gradlew.bat‎

Lines changed: 82 additions & 82 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)