diff --git a/UnitTests/HttpInterface/api-async-spec.rb b/UnitTests/HttpInterface/api-async-spec-timecritical.rb similarity index 100% rename from UnitTests/HttpInterface/api-async-spec.rb rename to UnitTests/HttpInterface/api-async-spec-timecritical.rb diff --git a/UnitTests/Makefile.unittests b/UnitTests/Makefile.unittests index b725a50c61..1568b124b4 100755 --- a/UnitTests/Makefile.unittests +++ b/UnitTests/Makefile.unittests @@ -457,9 +457,9 @@ SHELL_SERVER_ONLY = \ @top_srcdir@/js/server/tests/shell-readonly-noncluster-disabled.js\ @top_srcdir@/js/server/tests/shell-wal-noncluster.js \ @top_srcdir@/js/server/tests/shell-sharding-helpers.js \ - @top_srcdir@/js/server/tests/shell-compaction-noncluster.js \ + @top_srcdir@/js/server/tests/shell-compaction-noncluster-timecritical.js \ @top_srcdir@/js/server/tests/shell-shaped-noncluster.js \ - @top_srcdir@/js/server/tests/shell-tasks.js \ + @top_srcdir@/js/server/tests/shell-tasks-timecritical.js \ @top_srcdir@/js/server/tests/shell-transactions-noncluster.js \ @top_srcdir@/js/server/tests/shell-routing.js \ @top_srcdir@/js/server/tests/shell-any-noncluster.js \ diff --git a/js/server/modules/org/arangodb/testing.js b/js/server/modules/org/arangodb/testing.js index 323afa07b4..fca516dac5 100644 --- a/js/server/modules/org/arangodb/testing.js +++ b/js/server/modules/org/arangodb/testing.js @@ -68,6 +68,7 @@ /// - `skipAhuacatl`: if set to true the ahuacatl tests are skipped /// - `skipAql`: if set to true the AQL tests are skipped /// - `skipRanges`: if set to true the ranges tests are skipped +/// - `skipTimeCritical`: if set to true, time critical tests will be skipped. /// - `valgrind`: if set to true the arangods are run with the valgrind /// memory checker /// - `valgrindXmlFileBase`: string to prepend to the xml report name @@ -108,6 +109,7 @@ var optionsDefaults = { "cluster": false, "skipBoost": false, "skipGeo": false, "skipAhuacatl": false, + "skipTimeCritical": false, "skipAql": false, "skipRanges": false, "username": "root", @@ -489,6 +491,7 @@ function performTests(options, testList, testname) { print("\nTrying",te,"..."); if ((te.indexOf("-cluster") === -1 || options.cluster) && (te.indexOf("-noncluster") === -1 || options.cluster === false) && + (te.indexOf("-timecritical") === -1 || options.skipTimeCritical === false) && (te.indexOf("-disabled") === -1)) { if (!continueTesting) { @@ -510,7 +513,7 @@ function performTests(options, testList, testname) { continueTesting = checkInstanceAlive(instanceInfo); } else { - print("Skipped because of cluster/non-cluster or disabled."); + print("Skipped because of cluster/non-cluster/timecritical or disabled."); } } print("Shutting down..."); @@ -583,6 +586,7 @@ testFuncs.shell_client = function(options) { print("\nTrying",te,"..."); if ((te.indexOf("-cluster") === -1 || options.cluster) && (te.indexOf("-noncluster") === -1 || options.cluster === false) && + (te.indexOf("-timecritical") === -1 || options.skipTimeCritical === false) && (te.indexOf("-disabled") === -1)) { if (!continueTesting) { @@ -600,7 +604,7 @@ testFuncs.shell_client = function(options) { continueTesting = checkInstanceAlive(instanceInfo); } else { - print("Skipped because of cluster/non-cluster."); + print("Skipped because of cluster/non-cluster/timecritical."); } } print("Shutting down..."); @@ -748,6 +752,7 @@ function rubyTests (options, ssl) { print("Considering",n,"..."); if ((n.indexOf("-cluster") === -1 || options.cluster) && (n.indexOf("-noncluster") === -1 || options.cluster === false) && + (n.indexOf("-timecritical") === -1 || options.skipTimeCritical === false) && n.indexOf("replication") === -1) { args = ["--color", "-I", fs.join("UnitTests","HttpInterface"), "--format", "d", "--require", tmpname, @@ -768,7 +773,7 @@ function rubyTests (options, ssl) { } else { - print("Skipped because of cluster/non-cluster or replication."); + print("Skipped because of cluster/non-cluster/timecritical or replication."); } } } diff --git a/js/server/tests/shell-compaction-noncluster.js b/js/server/tests/shell-compaction-noncluster-timecritical.js similarity index 100% rename from js/server/tests/shell-compaction-noncluster.js rename to js/server/tests/shell-compaction-noncluster-timecritical.js