diff --git a/tests/all-spark-notebook/test_spark_notebooks.py b/tests/all-spark-notebook/test_spark_notebooks.py index 791b8dd4..b0c65efe 100644 --- a/tests/all-spark-notebook/test_spark_notebooks.py +++ b/tests/all-spark-notebook/test_spark_notebooks.py @@ -32,14 +32,10 @@ def test_nbconvert(container: TrackedContainer, test_file: str) -> None: ) logs = container.run_and_wait( timeout=60, - no_warnings=False, volumes={str(host_data_dir): {"bind": cont_data_dir, "mode": "ro"}}, tty=True, command=["start.sh", "bash", "-c", command], ) - warnings = TrackedContainer.get_warnings(logs) - # No Spark warnings - assert len(warnings) == 0 expected_file = f"{output_dir}/{test_file}.md" assert expected_file in logs, f"Expected file {expected_file} not generated" diff --git a/tests/pyspark-notebook/test_spark.py b/tests/pyspark-notebook/test_spark.py index fda19177..eb721bc1 100644 --- a/tests/pyspark-notebook/test_spark.py +++ b/tests/pyspark-notebook/test_spark.py @@ -11,13 +11,8 @@ def test_spark_shell(container: TrackedContainer) -> None: """Checking if Spark (spark-shell) is running properly""" logs = container.run_and_wait( timeout=60, - no_warnings=False, tty=True, command=["start.sh", "bash", "-c", 'spark-shell <<< "1+1"'], ) - warnings = TrackedContainer.get_warnings(logs) - - # Should not see any Spark warnings - assert len(warnings) == 0 assert "res0: Int = 2" in logs, "spark-shell does not work"