Skip to content

Conversation

@kpavlov
Copy link
Contributor

@kpavlov kpavlov commented Sep 11, 2025

Motivation and Context

Flaky integration tests

How Has This Been Tested?

./gradlew check

Changes

  • Use random port for Ktor in tests
  • Remove unused TestUtils utility class.
  • Replace runTest with runBlocking in test cases.
  • Adjust imports and formatting for consistency.
  • Add Awaitility dependency for dynamic server setup.
  • Update Duration usage from milliseconds to seconds.
  • Minor configuration and code formatting updates.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Test update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@kpavlov kpavlov marked this pull request as ready for review September 11, 2025 16:19
@devcrocod devcrocod self-requested a review September 11, 2025 16:20
@kpavlov kpavlov added the tests label Sep 11, 2025
- Remove unused `TestUtils` utility class.
- Replace `runTest` with `runBlocking` in test cases.
- Adjust imports and formatting for consistency.
- Add `Awaitility` dependency for dynamic server setup.
- Update `Duration` usage from milliseconds to seconds.
- Minor configuration and code formatting updates.
@kpavlov kpavlov force-pushed the kpavlov/refactor-tests branch from b785490 to 60ccc4e Compare September 11, 2025 16:30
@kpavlov kpavlov merged commit 7bdd6b9 into main Sep 11, 2025
4 checks passed
@kpavlov kpavlov deleted the kpavlov/refactor-tests branch September 11, 2025 16:38
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.

3 participants