From 58add930fd009a1624f70c8c889612152bad9c9c Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Tue, 12 Nov 2024 14:00:13 -0500 Subject: [PATCH] Suppress warning suppression in IceGrid/simple (#3134) --- scripts/tests/IceGrid/simple.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/tests/IceGrid/simple.py b/scripts/tests/IceGrid/simple.py index 86294a0ef92..388bf710414 100644 --- a/scripts/tests/IceGrid/simple.py +++ b/scripts/tests/IceGrid/simple.py @@ -4,7 +4,7 @@ # import os -import re + from IceGridUtil import ( IceGridRegistryMaster, IceGridRegistrySlave, @@ -41,12 +41,6 @@ def clientProps(process, current): clientTraceProps = {"IceLocatorDiscovery.Trace.Lookup": 3, "Ice.Trace.Network": 1} -# Filter-out the warning about invalid lookup proxy -outfilters = [ - lambda x: re.sub("-! .* warning: .*failed to lookup locator.*\n", "", x), - lambda x: re.sub("^ .*\n", "", x), -] - if isinstance(platform, Windows) or os.getuid() != 0: TestSuite( __name__, @@ -68,7 +62,6 @@ def clientProps(process, current): client=ClientServerTestCase( client=IceGridClient( props=clientProps, - outfilters=outfilters, traceProps=clientTraceProps, ), server=IceGridServer(props=serverProps, traceProps=serverTraceProps),