Generates the latest/greatest Maven-based artifacts for the Openfire project, every night.

Build: #3236 was successful Scheduled with changes by Guus der Kinderen

Stages & jobs

  1. Build and Package

Build result summary

Details

Completed
Queue duration
3 seconds
Duration
11 minutes
Labels
None
Agent
mesonet-ah.agron.iastate.edu (3)
Revision
dcf617316e837b93ef2bc3f0f7ae9bf2c3043492
Total tests
1935
Successful since
#3235 ()

Tests

Code commits

Author Commit Message Commit date
Guus der Kinderen Guus der Kinderen dcf617316e837b93ef2bc3f0f7ae9bf2c3043492 CI: make LocalIncomingServerSessionTest robust against async session timing
`LocalIncomingServerSessionTest` had an intermittent CI failure caused by a race in session lifecycle observation. In successful auth scenarios, the test asserted
`result.isClosed() == false` immediately after connection setup, but session registration/auth/close transitions are asynchronous. This occasionally produced false negatives (`expected false but was true`) even when protocol behavior was correct.

Replace brittle point-in-time checks with Awaitility-based eventual assertions:
- resolve the last received stream ID once;
- for successful outcomes, wait until the incoming session for that stream ID is present and matches expected auth/encryption characteristics;
- remove immediate `isClosed()` assertions that are timing-sensitive and not core to what this test needs to validate.
- replace wildcard imports with explicit imports
- extract repeated encrypted/authenticated/TLS assertions into helper
- add assertion messages for clearer CI failure diagnostics
- improve async robustness with Awaitility-based retriable assertions
- verify OF-1913 stream restart metadata via retriable checks
- add helper javadocs and synchronized list snapshot utility
- keep stream-id-first session lookup with domain fallback to reduce race flakiness

This keeps functional coverage intact (including auth method and TLS protocol checks) while eliminating flaky failures due to timing races in CI.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeOF-1913Could not obtain issue details from Jira

Shared artifacts

Artifact File size
install4j-generated media 5 KB