summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2018-11-25 23:51:33 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2018-11-25 23:51:33 -0800
commite6736a9828ef1d368222ced9936e79979b6b3d2e (patch)
tree294e59c632db9afe5017c6cd4144ac03aa1ba331
parent3bf6bebec947b9b0c389a1fce4fa55afd42c6753 (diff)
Specify number of test samples
-rw-r--r--bin/config.json3
-rw-r--r--src/models/config.model.ts1
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/config.json b/bin/config.json
index 2d8ebfa..0408683 100644
--- a/bin/config.json
+++ b/bin/config.json
@@ -1,6 +1,7 @@
{
"maxClientsForTest": 2,
- "testPeriod": 10000,
+ "testPeriod": 5000,
+ "nTestSamples": 30,
"adapter": "actiontec-t3200m",
"testServices": ["fast", "ookla"],
"serviceSpec": "telus-victoria-75",
diff --git a/src/models/config.model.ts b/src/models/config.model.ts
index 7ae202b..1f66fd7 100644
--- a/src/models/config.model.ts
+++ b/src/models/config.model.ts
@@ -16,4 +16,5 @@ export interface Config {
testServices: string[] // default to ["fast", "ookla"]
serviceSpec: string // default to "telus-victoria-75"
reporters: string[] // default to ["firebase"]
+ nTestSamples: number // number of required samples when testing
}