File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/test/java/de/rwth/idsg/steve Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 4242 */
4343public class StressTestSoapOCPP16 {
4444
45+ // higher values -> more stress
46+ //
4547 private static final int THREAD_COUNT = 50 ;
4648 private static final int REPEAT_COUNT_PER_THREAD = 50 ;
4749
50+ // lower values -> more stress
51+ //
52+ // reason: these only specify the size of the values "bag" from which a test picks a value randomly. if there is
53+ // less values to pick from, it is more likely that tests will use the same value at the same time. this produces
54+ // more overhead for steve (especially db) when multiple threads "fight" for inserting/updating a db row/cell.
55+ //
4856 private static final int ID_TAG_COUNT = 50 ;
4957 private static final int CHARGE_BOX_COUNT = 100 ;
5058 private static final int CONNECTOR_COUNT_PER_CHARGE_BOX = 25 ;
You can’t perform that action at this time.
0 commit comments