This commit is contained in:
Ayaz Salikhov
2022-01-22 20:16:42 +03:00
parent 897b6e0544
commit 3f6d683f76
3 changed files with 14 additions and 6 deletions

View File

@@ -16,9 +16,8 @@ def test_spark_shell(container: TrackedContainer) -> None:
tty=True,
command=["start.sh", "bash", "-c", 'spark-shell <<< "1+1"'],
)
# Spark warning
warnings = TrackedContainer.get_warnings(logs)
assert len(warnings) == 1
assert "An illegal reflective access operation has occurred" in warnings[0]
# Some Spark warnings
assert len(warnings) == 5
assert "res0: Int = 2" in logs, "spark-shell does not work"