Skip to content

Commit

Permalink
fix KITE charts and stats collection
Browse files Browse the repository at this point in the history
  • Loading branch information
ruddell committed Feb 5, 2021
1 parent 41451f0 commit 6514bc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions test/kite/configs/all.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
"meetingDuration": 5,
"getStats": {
"enabled": true,
"statsCollectionTime": 5000,
"statsCollectionTime": 10000,
"statsCollectionInterval": 250,
"peerConnections": ["window.component.state.peers[0]"],
"peerConnections": ["[...window.component.state.peers.values()][0]"],
"selectedStats": ["inbound-rtp", "outbound-rtp", "candidate-pair"]
},
"getCharts": {
"enabled": true,
"pathToGenerateChartsFile": "/generateCharts-min.js",
"pathToChartBundleMin": "/chart.bundle.min.js",
"chartsStatsInterval": 7000,
"peerConnections": ["window.component.state.peers[0]"],
"chartsStatsInterval": 500,
"peerConnections": ["[...window.component.state.peers.values()][0]"],
"config": {
"width": 500,
"height": 500,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ protected void populateTestSteps(TestRunner runner) {
runner.addStep(new CustomScreenshotStep(runner, isBroadcaster));
}

// // disabling, we wait for the Charts step as well
// if (this.meetingDuration > 0) {
// runner.addStep(new StayInMeetingStep(runner, meetingDuration));
// }
if (this.meetingDuration > 0) {
runner.addStep(new StayInMeetingStep(runner, meetingDuration));
}

if (this.allureCharts) {
runner.addStep(new StopGetStatsStep(runner));
Expand Down

0 comments on commit 6514bc1

Please sign in to comment.