Blob Blame History Raw
From eaab0a449a8ed50953b678160ae4dfe0572f7a29 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Tue, 18 Dec 2018 21:31:04 -0800
Subject: [PATCH] Use OPENQA_TEST_IPC mock in 37-limit_assets.t

Since 71172fc, this test hits IPC, I think when it calls
`schedule_iso` with an invalid repo name. We need to mock the
IPC or the test will fail in package build environments.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
 t/37-limit_assets.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/37-limit_assets.t b/t/37-limit_assets.t
index 1d3fb169..fe2d51bd 100644
--- a/t/37-limit_assets.t
+++ b/t/37-limit_assets.t
@@ -18,6 +18,7 @@
 
 BEGIN {
     unshift @INC, 'lib';
+    $ENV{OPENQA_TEST_IPC} = 1;
 }
 
 use FindBin;
-- 
2.20.0