From 1e5940c7de7512a176562b7c77acda7423adc780 Mon Sep 17 00:00:00 2001 From: Sauyon Lee Date: Mon, 29 Aug 2022 06:55:17 -0700 Subject: [PATCH] ci: temp fix for models test --- tests/unit/test_models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/test_models.py b/tests/unit/test_models.py index 91727647c4..f4b2cef0da 100644 --- a/tests/unit/test_models.py +++ b/tests/unit/test_models.py @@ -1,4 +1,5 @@ import os +import time import random import string from sys import version_info as pyver @@ -49,6 +50,8 @@ def test_models(tmpdir: "Path"): ) as testmodel: testmodel1tag = testmodel.tag + time.sleep(1) + with bentoml.models.create( "testmodel", module=__name__,