mirror of
https://github.com/containers/podman.git
synced 2026-07-13 08:41:44 -04:00
update fedoral base image to 43 and related tests
Signed-off-by: Tim Zhou <tizhou@redhat.com>
(cherry picked from commit 5d79adbd6a)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import json
|
||||
import unittest
|
||||
from multiprocessing import Process
|
||||
import multiprocessing as mp
|
||||
|
||||
import requests
|
||||
from dateutil.parser import parse
|
||||
@@ -168,9 +168,12 @@ class ImageTestCase(APITestCase):
|
||||
self.assertEqual(r.status_code, 400, f"#5: {r.text}")
|
||||
|
||||
i = 1
|
||||
# Need to explicitly set start method
|
||||
# # https://docs.python.org/dev/library/multiprocessing.html#contexts-and-start-methods
|
||||
mp.set_start_method('fork')
|
||||
for fn in [do_search1, do_search2, do_search3, do_search4, do_search5]:
|
||||
with self.subTest(i=i):
|
||||
search = Process(target=fn)
|
||||
search = mp.Process(target=fn)
|
||||
search.start()
|
||||
search.join(timeout=10)
|
||||
self.assertFalse(search.is_alive(), f"#{i} /images/search took too long")
|
||||
|
||||
Reference in New Issue
Block a user