Skip to content

Conversation

tcheeric
Copy link
Owner

Summary

  • run API integration tests only when configured relays are reachable
  • add RelayAvailability helper and BaseRelayIntegrationTest base class
  • remove static @Disabled annotations from integration tests
  • note automatic skipping of integration tests in README

Testing

  • mvn verify

https://chatgpt.com/codex/tasks/task_b_688a83c6ff908331ae096bb4ff153224

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables relay-dependent integration tests to run conditionally based on relay availability. Previously, integration tests were statically disabled and required manual intervention to run.

  • Replaces static @Disabled annotations with dynamic relay availability checking
  • Introduces helper classes for checking relay connectivity before test execution
  • Updates documentation to reflect automatic test skipping behavior

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.

File Description
RelayAvailability.java New utility class to check if configured relays are reachable via socket connections
BaseRelayIntegrationTest.java New base class that skips tests when relays are unavailable using JUnit assumptions
Multiple *IT.java files Remove static @Disabled annotations and extend new base class for conditional execution
README.md Documents automatic skipping of integration tests when relays are unreachable

tcheeric and others added 3 commits July 30, 2025 22:15
…bility.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…bility.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…bility.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@tcheeric tcheeric merged commit de927e1 into develop Jul 30, 2025
@tcheeric tcheeric deleted the codex/add-conditional-test-case-execution branch July 30, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant