Skip to content

Commit 0ed4295

Browse files
committed
Use shared fixture in shared cluster fixture for now to test, will modify in the future
1 parent 4901aa6 commit 0ed4295

File tree

1 file changed

+3
-3
lines changed
  • tests/integration-tests/tests/performance_tests

1 file changed

+3
-3
lines changed

tests/integration-tests/tests/performance_tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727

2828
@pytest.fixture(scope="class")
2929
def shared_performance_test_cluster(
30-
vpc_stack, pcluster_config_reader, clusters_factory, test_datadir, s3_bucket_factory
30+
vpc_stack, shared_pcluster_config_reader, clusters_factory, shared_test_datadir, s3_bucket_factory
3131
):
3232

3333
def _shared_performance_test_cluster(instance, os, region, scheduler):
3434
bucket_name = s3_bucket_factory()
3535
s3 = boto3.client("s3")
36-
s3.upload_file(str(test_datadir / "dependencies.install.sh"), bucket_name, "scripts/dependencies.install.sh")
36+
s3.upload_file(str(shared_test_datadir / "dependencies.install.sh"), bucket_name, "scripts/dependencies.install.sh")
3737

38-
cluster_config = pcluster_config_reader(
38+
cluster_config = shared_pcluster_config_reader(
3939
bucket_name=bucket_name,
4040
install_extra_deps=os in OSS_REQUIRING_EXTRA_DEPS,
4141
number_of_nodes=max(NUMBER_OF_NODES),

0 commit comments

Comments
 (0)