15
0

Accepting request 865312 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/865312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glances?expand=0&rev=11
This commit is contained in:
2021-01-26 13:46:11 +00:00
committed by Git OBS Bridge
3 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 20 16:04:11 UTC 2021 - Andreas Schwab <schwab@suse.de>
- unitest-wait-for-server.patch: increase time to wait for server to start
-------------------------------------------------------------------
Sat Aug 22 22:13:50 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Glances
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@ Patch0: adjust-data-files.patch
Patch1: remove-shebang.patch
Patch2: skip-online-tests.patch
Patch3: fix-tests.patch
Patch4: unitest-wait-for-server.patch
BuildRequires: %{python_module bottle}
BuildRequires: %{python_module future}
BuildRequires: %{python_module psutil >= 5.6.3}

View File

@@ -0,0 +1,13 @@
Index: glances-3.1.5/unitest-xmlrpc.py
===================================================================
--- glances-3.1.5.orig/unitest-xmlrpc.py
+++ glances-3.1.5/unitest-xmlrpc.py
@@ -59,7 +59,7 @@ class TestGlances(unittest.TestCase):
args = shlex.split(cmdline)
pid = subprocess.Popen(args)
print("Please wait...")
- time.sleep(1)
+ time.sleep(5)
self.assertTrue(pid is not None)