Changes timings for deletion users in stress test
This commit is contained in:
parent
cadd7f76f7
commit
840196fba1
@ -64,7 +64,7 @@ public class Main {
|
|||||||
for (var nodeId: nodes) {
|
for (var nodeId: nodes) {
|
||||||
for (int i = 0; i < roomsPerNode; i++) {
|
for (int i = 0; i < roomsPerNode; i++) {
|
||||||
client.getRoomRepository().saveRoom(
|
client.getRoomRepository().saveRoom(
|
||||||
new RoomDefinition(nodeId, RoomIdentifier.of(UUID.randomUUID().toString())).setMaxSlots(roomsPerNode)
|
new RoomDefinition(nodeId, RoomIdentifier.of(UUID.randomUUID().toString())).setMaxSlots(10)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -104,7 +104,7 @@ public class Main {
|
|||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
System.out.println("Error(" + ex.getClass().getSimpleName() + "): " + ex.getMessage());
|
System.out.println("Error(" + ex.getClass().getSimpleName() + "): " + ex.getMessage());
|
||||||
}
|
}
|
||||||
}, random.nextInt(1000) + 100, TimeUnit.MILLISECONDS);
|
}, random.nextInt(10) + 1, TimeUnit.SECONDS);
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
System.out.println("Error(" + ex.getClass().getSimpleName() + "): " + ex.getMessage());
|
System.out.println("Error(" + ex.getClass().getSimpleName() + "): " + ex.getMessage());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user