Sonar findings - RolloutManagementTest fix no assert (#1999)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-11-09 23:50:27 +02:00
committed by GitHub
parent 445c15ac3b
commit 1a741bcdb1

View File

@@ -1913,9 +1913,10 @@ class RolloutManagementTest extends AbstractJpaIntegrationTest {
@Test @Test
@Description("Creating a rollout with a weight causes an error when multi assignment in disabled.") @Description("Creating a rollout with a weight causes an error when multi assignment in disabled.")
void weightAllowedWhenMultiAssignmentModeNotEnabled() { void weightAllowedWhenMultiAssignmentModeNotEnabled() {
testdataFactory.createSimpleTestRolloutWithTargetsAndDistributionSet(10, 10, 2, "50", assertThat(
"80", testdataFactory.createSimpleTestRolloutWithTargetsAndDistributionSet(
ActionType.FORCED, 66); 10, 10, 2, "50", "80", ActionType.FORCED, 66))
.isNotNull();
} }
@Test @Test