in2code-de / in2publish_core

in2publish Community Version
https://www.in2code.de/produkte/content-publisher/
GNU General Public License v3.0
40 stars 23 forks source link

DiskSpeed perfomance tests fail on DV / ST environments #82

Closed paysafewebdev closed 4 years ago

paysafewebdev commented 4 years ago

Usually the development & staging environments are slower than PR & we use the Tests from in2publish in our deployment workflows, deployment is blocked because tests fail if the read / write speed is not as hardcoded values in tests.

This could be solved by allowing the parameters to be user defined in the configuration. Currently:

protected const THRESHOLD = [
        'read' => [
            TestResult::OK => 0.03,
            TestResult::WARNING => 0.04,
        ],
        'write' => [
            TestResult::OK => 0.06,
            TestResult::WARNING => 0.08,
        ],
    ];
vertexvaar commented 4 years ago

Duplicate of #80