From 99cb5cd474b741e4359cebb31176ec1a296dc317 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 13 Jun 2024 13:24:30 +0200 Subject: [PATCH] Run tests in explicit offline mode Ant build.xml can check itself if running in offline mode, but it takes a few minutes for network connection to time out. To speed up test execution we explicitly enable offline mode of Ant tests. Resolves: RHEL-52715 --- ant.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ant.spec b/ant.spec index 5985742..4f89bbc 100644 --- a/ant.spec +++ b/ant.spec @@ -527,7 +527,7 @@ install -p -m 644 man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %if %{without ant_minimal} %check -LC_ALL=C.UTF-8 %{ant} test +LC_ALL=C.UTF-8 %{ant} -Doffline=true test %endif %files