Skip to content

Commit

Permalink
Suppress warning suppression in IceGrid/simple (#3134)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier authored Nov 12, 2024
1 parent c2f5cd1 commit 58add93
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripts/tests/IceGrid/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#

import os
import re

from IceGridUtil import (
IceGridRegistryMaster,
IceGridRegistrySlave,
Expand Down Expand Up @@ -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__,
Expand All @@ -68,7 +62,6 @@ def clientProps(process, current):
client=ClientServerTestCase(
client=IceGridClient(
props=clientProps,
outfilters=outfilters,
traceProps=clientTraceProps,
),
server=IceGridServer(props=serverProps, traceProps=serverTraceProps),
Expand Down

0 comments on commit 58add93

Please sign in to comment.