summaryrefslogtreecommitdiff
path: root/tests/testutils/__init__.py
diff options
context:
space:
mode:
authorWilliam Salmon <will.salmon@codethink.co.uk>2018-08-01 14:36:46 +0100
committerWilliam Salmon <will.salmon@codethink.co.uk>2018-08-16 10:52:38 +0100
commit177c42649a3c6633b71a0e599ae0e5275476c964 (patch)
treea6a60917e2932f570a314d31a9913bae971a2382 /tests/testutils/__init__.py
parent04f836796d6d7f45a69ae607deebf3fb5b133611 (diff)
downloadbuildstream-177c42649a3c6633b71a0e599ae0e5275476c964.tar.gz
Trying to mitigate a mtime granularity braking the cache testswillsalmon/CacheExpiryTest
This patch mitigates the granularity of the mtimes used on the default gitlab runners, Allowing the test suite to pass on these runners.
Diffstat (limited to 'tests/testutils/__init__.py')
-rw-r--r--tests/testutils/__init__.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/testutils/__init__.py b/tests/testutils/__init__.py
index e9db94989..c2fae1cc4 100644
--- a/tests/testutils/__init__.py
+++ b/tests/testutils/__init__.py
@@ -1,5 +1,31 @@
+#
+# Copyright (C) 2018 Codethink Limited
+# Copyright (C) 2018 Bloomberg Finance LP
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library. If not, see <http://www.gnu.org/licenses/>.
+#
+# Authors: Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
+# Tristan Maat <tristan.maat@codethink.co.uk>
+# Sam Thursfield <sam.thursfield@codethink.co.uk>
+# James Ennis <james.ennis@codethink.co.uk>
+# Valentin David <valentin.david@codethink.co.uk>
+# William Salmon <will.salmon@codethink.co.uk>
+#
+
from .runcli import cli, cli_integration
from .repo import create_repo, ALL_REPO_KINDS
from .artifactshare import create_artifact_share
from .element_generators import create_element_size
from .junction import generate_junction
+from .runner_integration import wait_for_cache_granularity