SHA256
1
0
forked from pool/vagrant
vagrant/0015-ARM-only-Disable-Subprocess-unit-test.patch
Johannes Kastl b2269a63f2 Accepting request 727276 from home:dancermak:branches:Virtualization:vagrant
Update to 2.2.5, rebase patches, fix test failures with of vagrant-libvirt, fix issues on ARM, fix dependency issues with addressable

OBS-URL: https://build.opensuse.org/request/show/727276
OBS-URL: https://build.opensuse.org/package/show/Virtualization:vagrant/vagrant?expand=0&rev=34
2019-09-15 09:45:25 +00:00

38 lines
1.3 KiB
Diff

From 5ef42f64f34af7eb97f22dafdf73126fcdb2c90e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
Date: Wed, 28 Aug 2019 13:39:58 +0200
Subject: [PATCH 15/15] [ARM only] Disable Subprocess unit test
This unit test is *very* flaky on OBS' ARM workers and causes random build
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
index 81da0e635..a2a2270a0 100644
--- a/test/unit/vagrant/util/subprocess_test.rb
+++ b/test/unit/vagrant/util/subprocess_test.rb
@@ -116,7 +116,7 @@ describe Vagrant::Util::Subprocess do
end
end
context "when subprocess is running" do
- it "should return true" do
+ xit "should return true" do
sp = described_class.new("sleep", "5")
thread = Thread.new{ sp.execute }
sleep(0.3)
@@ -145,7 +145,7 @@ describe Vagrant::Util::Subprocess do
context "when subprocess is running" do
let(:sp){ described_class.new("sleep", "1") }
- it "should return true" do
+ xit "should return true" do
thread = Thread.new{ sp.execute }
sleep(0.1)
expect(sp.stop).to be(true)
--
2.22.1