Skip to content

Unstable test HttpBandwidthLimitingTest.testDynamicOutboundRateUpdateSharedServers [4.x] #5863

@ahus1

Description

@ahus1

Version

4.x

Context

In the 4.x branch, the test HttpBandwidthLimitingTest.testDynamicOutboundRateUpdateSharedServers is unstable:

https://github.com/eclipse-vertx/vert.x/actions/runs/20537844506/job/58998382133?pr=5859

Steps to reproduce

When calling updateTrafficShapingOptions() while the code for listening is still running, some instance variables might not have been initialized yet by the synchronized block.

In the master branch, the code of the test has been refactored to (1) call the traffic shaping only after all server have been initialized and (2) only once per server.

I'll suggest a PR to stabilize this later today here: #5864.

Do you have a reproducer?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions