From ecddc4cc6cd479f8e881fa7efa8873defac0e4f4 Mon Sep 17 00:00:00 2001 From: Daniel Chaffelson Date: Fri, 6 Nov 2020 14:49:48 +0000 Subject: [PATCH] Add half-second tolerance for Registry to create a versioned flow before retrieval during rapid test execution --- tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 326f9ba9..d7e60132 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -8,6 +8,7 @@ import pytest from os import environ, path from collections import namedtuple +from time import sleep import nipyapi log = logging.getLogger(__name__) @@ -536,6 +537,7 @@ def fixture_ver_flow(request, fix_bucket, fix_pg, fix_proc): comment='NiPyApi Test', desc='NiPyApi Test' ) + sleep(0.5) f_flow = nipyapi.versioning.get_flow_in_bucket( bucket_id=f_bucket.identifier, identifier=f_info.version_control_information.flow_id,