Skip to content

Conversation

@sundargates
Copy link
Contributor

Context

This change purely has some additional tests for the resource cluster actor.

Checklist

  • ./gradlew build compiles code correctly
  • Added new tests where applicable
  • ./gradlew test passes all tests
  • Extended README or added javadocs where applicable
  • Added copyright headers for new files from CONTRIBUTING.md

Copy link
Collaborator

Choose a reason for hiding this comment

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

should this be done using a mock Clock?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure if I can make Akka schedule something (such as the assignment timeout in this case) based on a mock clock. Let me take a look into this.

Copy link
Contributor

Choose a reason for hiding this comment

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

It would be great if we could. All these Thread.sleep() start to add up over time.

Copy link
Contributor

Choose a reason for hiding this comment

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

It would be great if we could. All these Thread.sleep() start to add up over time.

@sundargates sundargates force-pushed the sundaram/titus_part16 branch from 98c24d9 to 5f7de0d Compare April 13, 2022 18:40
@github-actions
Copy link

github-actions bot commented Apr 13, 2022

Unit Test Results

108 files  +33  108 suites  +33   5m 20s ⏱️ + 3m 4s
475 tests +89  456 ✔️ +88  19 💤 +2  0  - 1 

Results for commit 68bf289. ± Comparison against base commit b0f9e60.

♻️ This comment has been updated with latest results.

@sundargates sundargates force-pushed the sundaram/titus_part16 branch from c88f852 to 6e1c241 Compare April 13, 2022 21:04
cleaning the code

Making tests run in serial

Adding failure message

Adding failure message

Fixing flaky tests
@sundargates sundargates force-pushed the sundaram/titus_part16 branch from 793495b to 68bf289 Compare April 14, 2022 22:21
@sundargates sundargates merged commit 46d219a into Netflix:master Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants