Skip to content

Integration tests of FeatureFlagsV3 have side effect on error handling #1400

Open

Description

@Lokowandtg

When the integration tests of FeatureFlagsV3 are executed, they add a "doFinally" to the cloudFoundryClient object used in all integration tests. As a result, in all lated error signals the FeatureFlagsV3Test is listed on the error callstack.

Activity

  1. ZPascal commented on Nov 11, 2026

    @ZPascal
    Contributor

    @Lokowandtg, can you please share an output log to document it in the issue?

  2. Lokowandtg commented on Nov 11, 2026

    @Lokowandtg
    ContributorAuthor

    The test SpaceQuotaDefinitionsTest.delete fails with a timeout and FeatureFlagsV3Test shows up in the callstack.

    16:36:23.353` main cloudfoundry-client.test >> SpaceQuotaDefinitionsTest.delete <<
    16:41:15.056 cloudfoundry-client-nio-2 reactor.core.publisher.Operators Operator called default onErrorDropped
    java.lang.AssertionError: VerifySubscriber timed out on Mono.checkpoint ⇢ at org.cloudfoundry.reactor.client.v3.featureflags.ReactorFeatureFlagsV3.update(ReactorFeatureFlagsV3.java:78)
    at reactor.test.MessageFormatter.assertionError(MessageFormatter.java:115)
    at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.pollTaskEventOrComplete(DefaultStepVerifierBuilder.java:1728)
    at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.verify(DefaultStepVerifierBuilder.java:1298)
    at reactor.test.DefaultStepVerifierBuilder$DefaultStepVerifier.verify(DefaultStepVerifierBuilder.java:832)
    at org.cloudfoundry.client.v3.FeatureFlagsV3Test.lambda$22(FeatureFlagsV3Test.java:253)
    at reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.runFinally(FluxDoFinally.java:146)
    at reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.onComplete(FluxDoFinally.java:129)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions