Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libguestfs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
libguestfs
Commits
7392ac57
Commit
7392ac57
authored
Jan 12, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10 minutes may be not enough to start QEMU TCG under QEMU TCG - increase the timeout to 1 hour
parent
fa57e3ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
libguestfs-1.42.0-fix_test_timeout.patch
libguestfs-1.42.0-fix_test_timeout.patch
+14
-2
No files found.
libguestfs-1.42.0-fix_test_timeout.patch
View file @
7392ac57
diff -uNr libguestfs-1.42.0/run.in libguestfs-1.42.0-fix_test_timeout/run.in
--- libguestfs-1.42.0/run.in 2020-03-0
6 19:31:08.573072155 +000
0
+++ libguestfs-1.42.0-fix_test_timeout/run.in 202
0-07-14 17:18:34.725605797 +000
0
--- libguestfs-1.42.0/run.in 2020-03-0
7 06:01:08.573072155 +103
0
+++ libguestfs-1.42.0-fix_test_timeout/run.in 202
1-01-12 01:56:19.346154903 +103
0
@@ -243,7 +243,7 @@
# Originally 1h, but that is not long enough to run the C API
...
...
@@ -10,3 +10,15 @@ diff -uNr libguestfs-1.42.0/run.in libguestfs-1.42.0-fix_test_timeout/run.in
timeout_kill=30s
# Must use the --foreground option (RHBZ#1025269).
diff -uNr libguestfs-1.42.0/tests/c-api/tests-main.c libguestfs-1.42.0-fix_test_timeout/tests/c-api/tests-main.c
--- libguestfs-1.42.0/tests/c-api/tests-main.c 2020-03-07 06:01:08.588071940 +1030
+++ libguestfs-1.42.0-fix_test_timeout/tests/c-api/tests-main.c 2021-01-12 01:55:30.500011272 +1030
@@ -446,7 +446,7 @@
}
/* Set a timeout in case qemu hangs during launch (RHBZ#505329). */
- alarm (600);
+ alarm (3600);
if (guestfs_launch (g) == -1) {
printf ("FAIL: guestfs_launch\n");
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment