Skip to content

Commit

Permalink
Enable DataStorm multicast testing on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Oct 22, 2024
1 parent b533584 commit afcdcf2
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 50 deletions.
17 changes: 7 additions & 10 deletions cpp/test/DataStorm/callbacks/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Copyright (c) ZeroC, Inc. All rights reserved.
#

import sys
from DataStormUtil import Reader, Writer
from Util import ClientServerTestCase, TestSuite

Expand All @@ -22,14 +21,12 @@
traceProps=traceProps),
]

# TODO - enable once we figure out https://github.com/zeroc-ice/ice/issues/2929
if sys.platform != "darwin":
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)

TestSuite(__file__, test_cases)
17 changes: 7 additions & 10 deletions cpp/test/DataStorm/config/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from DataStormUtil import Reader, Writer
from Util import ClientServerTestCase, TestSuite
import sys

traceProps = {
"DataStorm.Trace.Topic" : 1,
Expand All @@ -22,14 +21,12 @@
traceProps=traceProps),
]

# TODO - enable once we figure out https://github.com/zeroc-ice/ice/issues/2929
if sys.platform != "darwin":
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)

TestSuite(__file__, test_cases)
17 changes: 7 additions & 10 deletions cpp/test/DataStorm/events/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from DataStormUtil import Reader, Writer
from Util import ClientServerTestCase, TestSuite
import sys

traceProps = {
"DataStorm.Trace.Topic" : 1,
Expand All @@ -24,14 +23,12 @@
traceProps=traceProps),
]

# TODO - enable once we figure out https://github.com/zeroc-ice/ice/issues/2929
if sys.platform != "darwin":
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)

TestSuite(__file__, test_cases)
17 changes: 7 additions & 10 deletions cpp/test/DataStorm/partial/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from DataStormUtil import Reader, Writer
from Util import ClientServerTestCase, TestSuite
import sys

traceProps = {
"DataStorm.Trace.Topic" : 1,
Expand All @@ -22,14 +21,12 @@
traceProps=traceProps),
]

# TODO - enable once we figure out https://github.com/zeroc-ice/ice/issues/2929
if sys.platform != "darwin":
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)

TestSuite(__file__, test_cases)
17 changes: 7 additions & 10 deletions cpp/test/DataStorm/types/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from DataStormUtil import Reader, Writer
from Util import ClientServerTestCase, TestSuite
import sys

traceProps = {
"DataStorm.Trace.Topic" : 1,
Expand All @@ -22,14 +21,12 @@
traceProps=traceProps),
]

# TODO - enable once we figure out https://github.com/zeroc-ice/ice/issues/2929
if sys.platform != "darwin":
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)
test_cases.append(
ClientServerTestCase(
name = "Writer/Reader multicast enabled",
client = Writer(props = multicastProps),
server = Reader(props = multicastProps),
traceProps=traceProps),
)

TestSuite(__file__, test_cases)

0 comments on commit afcdcf2

Please sign in to comment.