This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-library.git

commit 8b756e03be01b9af9a57786264de08674b318e39
Author: Alex Heneveld <a...@cloudsoft.io>
AuthorDate: Wed Apr 10 12:18:03 2024 +0100

    suppress geo in testing
---
 .../apache/brooklyn/entity/dns/geoscaling/GeoscalingIntegrationTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/software/webapp/src/test/java/org/apache/brooklyn/entity/dns/geoscaling/GeoscalingIntegrationTest.java
 
b/software/webapp/src/test/java/org/apache/brooklyn/entity/dns/geoscaling/GeoscalingIntegrationTest.java
index 74960bdce..278f0aa4d 100644
--- 
a/software/webapp/src/test/java/org/apache/brooklyn/entity/dns/geoscaling/GeoscalingIntegrationTest.java
+++ 
b/software/webapp/src/test/java/org/apache/brooklyn/entity/dns/geoscaling/GeoscalingIntegrationTest.java
@@ -203,6 +203,7 @@ public class GeoscalingIntegrationTest extends 
BrooklynAppUnitTestSupport {
 
         @Override
         public HostGeoInfo getHostGeoInfo(InetAddress address) throws 
Exception {
+            if (isHostGeoLookupGloballyDisabled()) return null;
             // Saw strange test failure on jenkins: hence paranoid logging, 
just in case exception is swallowed somehow.
             try {
                 HostGeoInfo result;

Reply via email to