2021-12-02 14:34:45 +01:00
|
|
|
From cc9cc287131b8a0b4419d2a7c2a0f7f3fd7b5b26 Mon Sep 17 00:00:00 2001
|
2019-09-15 11:45:25 +02:00
|
|
|
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
|
|
|
Date: Wed, 28 Aug 2019 13:39:58 +0200
|
2021-12-02 14:34:45 +01:00
|
|
|
Subject: [PATCH 9/9] Disable Subprocess unit test
|
2019-09-15 11:45:25 +02:00
|
|
|
|
2020-01-31 10:06:23 +01:00
|
|
|
This unit test is *very* flaky on OBS' workers and causes random build
|
2019-09-15 11:45:25 +02:00
|
|
|
failures. These are probably caused by worker being under high load and then
|
|
|
|
scheduling oddly.
|
|
|
|
---
|
|
|
|
test/unit/vagrant/util/subprocess_test.rb | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/test/unit/vagrant/util/subprocess_test.rb b/test/unit/vagrant/util/subprocess_test.rb
|
2020-09-08 08:55:10 +02:00
|
|
|
index 0ff5835c8..757d8ef8a 100644
|
2019-09-15 11:45:25 +02:00
|
|
|
--- a/test/unit/vagrant/util/subprocess_test.rb
|
|
|
|
+++ b/test/unit/vagrant/util/subprocess_test.rb
|
2020-09-08 08:55:10 +02:00
|
|
|
@@ -124,7 +124,7 @@ describe Vagrant::Util::Subprocess do
|
2019-09-15 11:45:25 +02:00
|
|
|
end
|
|
|
|
end
|
2020-09-08 08:55:10 +02:00
|
|
|
|
|
|
|
- it "should return true when subprocess is running" do
|
|
|
|
+ xit "should return true when subprocess is running" do
|
|
|
|
sleep_test_commands.each do |sp|
|
2019-09-15 11:45:25 +02:00
|
|
|
thread = Thread.new{ sp.execute }
|
|
|
|
sleep(0.3)
|
2020-09-08 08:55:10 +02:00
|
|
|
@@ -155,7 +155,7 @@ describe Vagrant::Util::Subprocess do
|
|
|
|
end
|
2019-09-15 11:45:25 +02:00
|
|
|
|
|
|
|
context "when subprocess is running" do
|
|
|
|
- it "should return true" do
|
|
|
|
+ xit "should return true" do
|
2020-09-08 08:55:10 +02:00
|
|
|
sleep_test_commands.each do |sp|
|
|
|
|
thread = Thread.new{ sp.execute }
|
|
|
|
sleep(0.1)
|
2019-09-15 11:45:25 +02:00
|
|
|
--
|
2021-04-27 10:59:18 +02:00
|
|
|
2.31.1
|
2019-09-15 11:45:25 +02:00
|
|
|
|