()
| 117 | |
| 118 | @pytest.fixture |
| 119 | def gs_session(): |
| 120 | sess = graphscope.session( |
| 121 | num_workers=1, |
| 122 | k8s_image_registry=get_gs_registry_on_ci_env(), |
| 123 | k8s_image_tag=get_gs_tag_on_ci_env(), |
| 124 | k8s_coordinator_cpu=2, |
| 125 | k8s_coordinator_mem="4Gi", |
| 126 | k8s_vineyard_cpu=2, |
| 127 | k8s_vineyard_mem="512Mi", |
| 128 | k8s_engine_cpu=2, |
| 129 | k8s_engine_mem="4Gi", |
| 130 | vineyard_shared_mem="4Gi", |
| 131 | k8s_volumes=get_k8s_volumes(), |
| 132 | ) |
| 133 | yield sess |
| 134 | sess.close() |
| 135 | |
| 136 | |
| 137 | @pytest.fixture |
nothing calls this directly
no test coverage detected