Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Jan 31, 2024
1 parent 78d806a commit 8151d76
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions python/mochi/bedrock/test_service_handle.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,7 @@ def test_add_xstream_from_spec(self):
self.add_xstream(proc.margo.argobots.xstreams["my_xstream"])

def test_remove_xstream(self):
config = {
"name": "my_xstream",
"scheduler": {
"type": "basic_wait",
"pools": ["__primary__"]
}
}
self.add_xstream(config)
self.test_add_xstream_from_dict()
initial_num_xstreams = len(self.server.margo.xstreams)
self.sh.remove_xstream("my_xstream")
self.assertEqual(len(self.server.margo.xstreams), initial_num_xstreams - 1)
Expand Down

0 comments on commit 8151d76

Please sign in to comment.