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
@Description("Creating a rollout with a weight causes an error when multi assignment in disabled.")
void weightAllowedWhenMultiAssignmentModeNotEnabled() {
testdataFactory.createSimpleTestRolloutWithTargetsAndDistributionSet(10, 10, 2, "50",
"80",
ActionType.FORCED, 66);
assertThat(
testdataFactory.createSimpleTestRolloutWithTargetsAndDistributionSet(
10, 10, 2, "50", "80", ActionType.FORCED, 66))
.isNotNull();
}
@Test