Skip to content

Commit

Permalink
Merge pull request #156 from oat-sa/release-2.7.0
Browse files Browse the repository at this point in the history
Release 2.7.0
  • Loading branch information
antoinerobin authored Nov 10, 2017
2 parents da171d1 + 671ad43 commit 56fb486
Show file tree
Hide file tree
Showing 27 changed files with 1,209 additions and 312 deletions.
117 changes: 116 additions & 1 deletion config/default/clientDiag.conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2015 (original work) Open Assessment Technologies SA;
* Copyright (c) 2015-2017 (original work) Open Assessment Technologies SA;
*/

/**
Expand Down Expand Up @@ -50,7 +50,24 @@
* @type array
*/
'performance' => array(
/**
* Allows to disable the test on the platform
* @type boolean
*/
'enabled' => true,

/**
* Defines the test level. In case of multiple tests of the same kind, this config allows to compare intensities.
* @type boolean
*/
'level' => 1,

/**
* Path to the component that will test the performances
* @type string
*/
'tester' => 'taoClientDiagnostic/tools/performances/tester',

/**
* A list of samples to render in order to compute the rendering performances
* @type array
Expand Down Expand Up @@ -91,7 +108,24 @@
* @type array
*/
'bandwidth' => array(
/**
* Allows to disable the test on the platform
* @type boolean
*/
'enabled' => true,

/**
* Defines the test level. In case of multiple tests of the same kind, this config allows to compare intensities.
* @type boolean
*/
'level' => 1,

/**
* Path to the component that will test the bandwidth
* @type string
*/
'tester' => 'taoClientDiagnostic/tools/bandwidth/tester',

/**
* The typical bandwidth needed for a test taker (Mbps)
* @type float
Expand All @@ -111,11 +145,71 @@
'max' => 100,
),

/**
* Bandwidth check config
* @type array
*/
'intensive_bandwidth' => array(
/**
* Allows to disable the test on the platform
* @type boolean
*/
'enabled' => false,

/**
* Defines the test level. In case of multiple tests of the same kind, this config allows to compare intensities.
* @type boolean
*/
'level' => 2,

/**
* Path to the component that will test the bandwidth
* @type string
*/
'tester' => 'taoClientDiagnostic/tools/bandwidth/tester',

/**
* The typical bandwidth needed for a test taker (Mbps)
* @type float
*/
'unit' => 1.2,

/**
* The ideal number of simultaneous test takers
* @type int
*/
'ideal' => 45,

/**
* Maximum number of test takers to display on a bar
* @type int
*/
'max' => 100,
),

/**
* Upload speed test config
* @type array
*/
'upload' => array(
/**
* Allows to disable the test on the platform
* @type boolean
*/
'enabled' => true,

/**
* Defines the test level. In case of multiple tests of the same kind, this config allows to compare intensities.
* @type boolean
*/
'level' => 1,

/**
* Path to the component that will test the upload speed
* @type string
*/
'tester' => 'taoClientDiagnostic/tools/upload/tester',

/**
* Size of data to sent to server during speed test in bytes
*/
Expand All @@ -126,7 +220,28 @@
*/
'optimal' => 1 * 1024 * 1024,
),

/**
* Browser compatibility check config
* @type array
*/
'browser' => [
/**
* Allows to disable the test on the platform
* @type boolean
*/
'enabled' => true,

/**
* Defines the test level. In case of multiple tests of the same kind, this config allows to compare intensities.
* @type boolean
*/
'level' => 1,

/**
* Path to the component that will test the browser compatibility
* @type string
*/
'tester' => 'taoClientDiagnostic/tools/browser/tester',
],
]
Expand Down
Loading

0 comments on commit 56fb486

Please sign in to comment.