Skip to content

Commit a9b7350

Browse files
authored
Use local config for htex MPI test, instead of setup/teardown fixutre (#3398)
1 parent 2697bb7 commit a9b7350

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

parsl/tests/test_mpi_apps/test_resource_spec.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,11 @@
2525
EXECUTOR_LABEL = "MPI_TEST"
2626

2727

28-
def local_setup():
28+
def local_config():
2929
config = fresh_config()
3030
config.executors[0].label = EXECUTOR_LABEL
3131
config.executors[0].max_workers_per_node = 1
32-
parsl.load(config)
33-
34-
35-
def local_teardown():
36-
logging.warning("Exiting")
37-
parsl.dfk().cleanup()
38-
parsl.clear()
32+
return config
3933

4034

4135
@python_app

0 commit comments

Comments
 (0)