Skip to content

Conversation

Albertoimpl
Copy link
Contributor

No description provided.

@Albertoimpl Albertoimpl changed the title Upgrading spring boot to 3.3.1 (2.3.x): Upgrading spring boot to 3.3.1 Jul 4, 2024
@Albertoimpl Albertoimpl added this to the App Broker 2.3.x milestone Jul 8, 2024
assertThat(serviceInstanceState.getDescription()).isEqualTo("bar");
assertThat(serviceInstanceState.getLastUpdated())
.isEqualToIgnoringSeconds(new Date());
.isCloseTo(new Date(), 1000L);
Copy link
Contributor

Choose a reason for hiding this comment

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

isCloseTo is definitely the right choice here, but are we sure 1 sec is enough to avoid flakes?

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 tested every method locally with @RepeatedTest(10000) and nothing failed.
Just did it again with 100.000 repetitions and they were all still happy.

@Albertoimpl Albertoimpl merged commit a27a0fa into 2.3.x Jul 9, 2024
@Albertoimpl Albertoimpl deleted the arios/boot-33x branch July 9, 2024 09:44
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