Skip to content

Commit

Permalink
pass client object as well
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed Apr 15, 2024
1 parent 322815f commit 7369eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tpch/test_pyspark.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ def get_number_spark_executors(spark_dashboard: Url):


@pytest.fixture
def spark(request, spark_setup, benchmark_all):
def spark(request, spark_setup, benchmark_all, client):
n_executors_start = get_number_spark_executors(spark_setup._spark_dashboard)
with benchmark_all(None):
with benchmark_all(client):
yield spark_setup
n_executors_finish = get_number_spark_executors(spark_setup._spark_dashboard)

Expand Down

0 comments on commit 7369eb3

Please sign in to comment.