Skip to content

Commit

Permalink
Fix bridge selector tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev committed May 9, 2019
1 parent 8bf8155 commit aa2a422
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/java/org/jitsi/jicofo/BridgeSelectorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,16 @@ private void testFailureResetThreshold(
BridgeSelector.DEFAULT_FAILURE_RESET_THRESHOLD);
}

ExtensionElement createJvbStats(int videoStreamCount)
ExtensionElement createJvbStats(int bitrate)
{
ColibriStatsExtension statsExtension = new ColibriStatsExtension();

statsExtension.addStat(
new ColibriStatsExtension.Stat(
VideobridgeStatistics.VIDEOSTREAMS, "" + videoStreamCount));
VideobridgeStatistics.BITRATE_DOWNLOAD, bitrate));
statsExtension.addStat(
new ColibriStatsExtension.Stat(
VideobridgeStatistics.BITRATE_UPLOAD, bitrate));

return statsExtension;
}
Expand Down

0 comments on commit aa2a422

Please sign in to comment.