13
13
import org .junit .BeforeClass ;
14
14
import org .junit .ClassRule ;
15
15
import org .junit .FixMethodOrder ;
16
- import org .junit .Ignore ;
17
16
import org .junit .Test ;
18
17
import org .junit .runners .MethodSorters ;
19
18
import org .slf4j .Logger ;
@@ -244,12 +243,13 @@ public void onMessages(DataReceivedEvent dre) {
244
243
}
245
244
}
246
245
247
- @ Ignore ("remove ignore once :latest YDB container tag moves onto version 25.1" )
248
246
@ Test
249
247
public void step07_alterTopicWithAutoPartitioning () {
250
248
client .alterTopic (TEST_TOPIC , AlterTopicSettings .newBuilder ()
251
249
.setAlterPartitioningSettings (AlterPartitioningSettings .newBuilder ()
252
250
.setAutoPartitioningStrategy (AutoPartitioningStrategy .SCALE_UP )
251
+ .setMaxActivePartitions (10 )
252
+ .setMinActivePartitions (5 )
253
253
.setWriteStrategySettings (AlterAutoPartitioningWriteStrategySettings .newBuilder ()
254
254
.setStabilizationWindow (Duration .ofMinutes (1 ))
255
255
.setUpUtilizationPercent (80 )
@@ -267,8 +267,8 @@ public void step07_alterTopicWithAutoPartitioning() {
267
267
.setUpUtilizationPercent (80 )
268
268
.setDownUtilizationPercent (20 )
269
269
.build ())
270
- .setMinActivePartitions (1 )
271
- .setMaxActivePartitions (1 )
270
+ .setMinActivePartitions (5 )
271
+ .setMaxActivePartitions (10 )
272
272
.build ();
273
273
274
274
Assert .assertEquals (expectedPartitioningSettings , actualPartitioningSettings );
0 commit comments