Skip to content

Commit

Permalink
#146, #84: Change the json cfg files to have experimentConfig section…
Browse files Browse the repository at this point in the history
… with delay values that were hardwired in testConfig earlier
  • Loading branch information
Praveen Murthy committed Mar 24, 2020
1 parent e0873c1 commit f1eba62
Show file tree
Hide file tree
Showing 16 changed files with 450 additions and 105 deletions.
29 changes: 24 additions & 5 deletions configs/testFcfsFreezeCfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,35 @@
"description" : "platform testing demo - FileSequential",
"duration": 60,
"settings": [
{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"}
{
"name": "showInternalStats",
"value": "1"
},
{
"name": "csvFileName",
"value": "PlatformTesting"
},
{
"name": "csvAppend",
"value": "true"
}
],
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FileFreeze.json"]
"parameterList": [
"FileFreeze.json"
]
},
"experimentConfig": {
"experimentRestartDelay": "5",
"experimentStartDelay": "2",
"freezeWaitMillis": "30000"
},
"resultFiles": [
"swirlds.log"
],
"validator": [ "STATS", "PLATFORM_TESTING_DEMO" ]
"validator": [
"STATS",
"PLATFORM_TESTING_DEMO"
]
}
25 changes: 18 additions & 7 deletions configs/testFcm1KCfg.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
{
"name":"FCM1K",
"description" : "platform testing demo - FCM1K",
"duration": 540,
"name": "FCM1K",
"description": "platform testing demo - FCM1K",
"duration": 60,
"settings": [
{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"}
{
"name": "showInternalStats",
"value": "1"
},
{
"name": "csvFileName",
"value": "PlatformTesting"
},
{
"name": "csvAppend",
"value": "true"
}
],
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCM1K.json"]
"parameterList": [
"FCM1K.json"
]
},
"resultFiles": [
"swirlds.log"
Expand Down
23 changes: 19 additions & 4 deletions configs/testFcmFreezeBlobCfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,37 @@
{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"},
{"name":"state.saveStatePeriod", "value":"300"}
{
"name": "state.saveStatePeriod",
"value": "300"
}
],
"freezeConfig": {
"freezeTiming": 1,
"freezeIterations": 5,
"postFreezeApp": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCMBlob1K.json"]
"parameterList": [
"FCMBlob1K.json"
]
}
},
"experimentConfig": {
"experimentRestartDelay": "5",
"experimentStartDelay": "2",
"freezeWaitMillis": "30000"
},
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCM1KFreezeBlob.json"]
"parameterList": [
"FCM1KFreezeBlob.json"
]
},
"resultFiles": [
"swirlds.log"
],
"validator": [ "STATS", "RESTART" ]
"validator": [
"STATS",
"RESTART"
]
}
23 changes: 19 additions & 4 deletions configs/testFcmFreezeCfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,37 @@
{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"},
{"name":"state.saveStatePeriod", "value":"300"}
{
"name": "state.saveStatePeriod",
"value": "300"
}
],
"freezeConfig": {
"freezeTiming": 1,
"freezeIterations": 5,
"postFreezeApp": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCM1K.json"]
"parameterList": [
"FCM1K.json"
]
}
},
"experimentConfig": {
"experimentRestartDelay": "5",
"experimentStartDelay": "2",
"freezeWaitMillis": "30000"
},
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCM1KFreeze.json"]
"parameterList": [
"FCM1KFreeze.json"
]
},
"resultFiles": [
"swirlds.log"
],
"validator": [ "STATS", "RESTART" ]
"validator": [
"STATS",
"RESTART"
]
}
23 changes: 19 additions & 4 deletions configs/testFcmFreezeFCQCfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,37 @@
{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"},
{"name":"state.saveStatePeriod", "value":"300"}
{
"name": "state.saveStatePeriod",
"value": "300"
}
],
"freezeConfig": {
"freezeTiming": 1,
"freezeIterations": 5,
"postFreezeApp": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCM1K.json"]
"parameterList": [
"FCM1K.json"
]
}
},
"experimentConfig": {
"experimentRestartDelay": "5",
"experimentStartDelay": "2",
"freezeWaitMillis": "30000"
},
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCM1KFreezeFCQ.json"]
"parameterList": [
"FCM1KFreezeFCQ.json"
]
},
"resultFiles": [
"swirlds.log"
],
"validator": [ "STATS", "RESTART" ]
"validator": [
"STATS",
"RESTART"
]
}
39 changes: 32 additions & 7 deletions configs/testReconnectBlobCfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,47 @@
{"name": "throttle7extra", "value": "0.02" },
{"name":"throttle7", "value": "1" },
{"name":"throttle7threshold", "value": "1.5" },
{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"},
{"name":"reconnectActive", "value":"1"},
{"name":"enableEventStreaming", "value":"true"}
{
"name": "showInternalStats",
"value": "1"
},
{
"name": "csvFileName",
"value": "PlatformTesting"
},
{
"name": "csvAppend",
"value": "true"
},
{
"name": "reconnectActive",
"value": "1"
},
{
"name": "enableEventStreaming",
"value": "true"
}
],
"reconnectConfig": {
"reconnectTiming": 180,
"killNetworkReconnect": true
},
"experimentConfig": {
"experimentRestartDelay": "5",
"experimentStartDelay": "2",
"freezeWaitMillis": "30000"
},
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCMReconnectBlob.json"]
"parameterList": [
"FCMReconnectBlob.json"
]
},
"resultFiles": [
"swirlds.log"
],
"validator": [ "STATS", "RECONNECT" ]
"validator": [
"STATS",
"RECONNECT"
]
}
39 changes: 32 additions & 7 deletions configs/testReconnectBlobMultiReconnectCfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,47 @@
{"name":"throttle7threshold", "value": "1.5" },

{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"},
{"name":"reconnectActive", "value":"1"},
{"name":"enableEventStreaming", "value":"true"},
{"name":"roundsExpired", "value":"250"}
{
"name": "csvFileName",
"value": "PlatformTesting"
},
{
"name": "csvAppend",
"value": "true"
},
{
"name": "reconnectActive",
"value": "1"
},
{
"name": "enableEventStreaming",
"value": "true"
},
{
"name": "roundsExpired",
"value": "250"
}
],
"reconnectConfig": {
"reconnectTiming": 180,
"killNetworkReconnect": true
},
"experimentConfig": {
"experimentRestartDelay": "5",
"experimentStartDelay": "2",
"freezeWaitMillis": "30000"
},
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCMMultiReconnectBlob.json"]
"parameterList": [
"FCMMultiReconnectBlob.json"
]
},
"resultFiles": [
"swirlds.log"
],
"validator": [ "STATS", "RECONNECT" ]
"validator": [
"STATS",
"RECONNECT"
]
}
39 changes: 32 additions & 7 deletions configs/testReconnectCfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,47 @@
"settings": [
{"name": "throttle7extra", "value": "0.02" },
{"name":"throttle7", "value": "1" },
{"name":"throttle7threshold", "value": "1.5" },
{"name":"showInternalStats", "value": "1" },
{"name":"csvFileName", "value":"PlatformTesting" },
{"name":"csvAppend", "value":"true"},
{"name":"reconnectActive", "value":"1"}
{
"name": "throttle7threshold",
"value": "1.5"
},
{
"name": "showInternalStats",
"value": "1"
},
{
"name": "csvFileName",
"value": "PlatformTesting"
},
{
"name": "csvAppend",
"value": "true"
},
{
"name": "reconnectActive",
"value": "1"
}
],
"reconnectConfig": {
"reconnectTiming": 180,
"killNetworkReconnect": true
},
"experimentConfig": {
"experimentRestartDelay": "5",
"experimentStartDelay": "2",
"freezeWaitMillis": "30000"
},
"app": {
"jar": "PlatformTestingApp.jar",
"parameterList": ["FCMReconnect.json"]
"parameterList": [
"FCMReconnect.json"
]
},
"resultFiles": [
"swirlds.log"
],
"validator": [ "STATS", "RECONNECT" ]
"validator": [
"STATS",
"RECONNECT"
]
}
Loading

0 comments on commit f1eba62

Please sign in to comment.