(ogbn_small_script)
| 193 | |
| 194 | |
| 195 | def test_multiple_session(ogbn_small_script): |
| 196 | s1 = graphscope.session(cluster_type="hosts", num_workers=1) |
| 197 | assert s1.info["status"] == "active" |
| 198 | |
| 199 | s2 = graphscope.session(cluster_type="hosts", num_workers=2) |
| 200 | assert s2.info["status"] == "active" |
| 201 | |
| 202 | simple_flow(s1, ogbn_small_script) |
| 203 | simple_flow(s2, ogbn_small_script) |
| 204 | |
| 205 | s1.close() |
| 206 | s2.close() |
| 207 | |
| 208 | |
| 209 | def test_demo_with_default_session(ogbn_small_script): |
nothing calls this directly
no test coverage detected