Skip to content

Flaky SentryTracerTest #2143

@adinauer

Description

@adinauer

Description

io.sentry.SentryTracerTest > when idle transaction with children, finishes the transaction after the idle timeout FAILED
    Wanted but not invoked:
    hub.captureTransaction(
        <any>,
        <any>,
        <any>,
        <any>
    );
    -> at io.sentry.Hub.captureTransaction(Hub.java:606)
    However, there were exactly 5 interactions with this mock:
    hub.bindClient(
        Mock for ISentryClient, hashCode: 908635948
    );
    -> at io.sentry.SentryTracerTest$Fixture.<init>(SentryTracerTest.kt:33)
    hub.isEnabled();
    -> at io.sentry.Hub.bindClient(Hub.java:559)
    hub.getOptions();
    -> at io.sentry.SentryTracer.finish(SentryTracer.java:298)
    hub.configureScope(
        io.sentry.SentryTracer$$Lambda$206/0x000000080044f440@73dac022
    );
    -> at io.sentry.SentryTracer.finish(SentryTracer.java:331)
    hub.isEnabled();
    -> at io.sentry.Hub.configureScope(Hub.java:542)
        at app//io.sentry.Hub.captureTransaction(Hub.java:606)
        at app//io.sentry.SentryTracerTest.when idle transaction with children, finishes the transaction after the idle timeout(SentryTracerTest.kt:623)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions