Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-32506

flaky test: pyspark.mllib.tests.test_streaming_algorithms.StreamingLinearRegressionWithTests

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.0.1, 3.1.0
    • Component/s: MLlib
    • Labels:
      None

      Description

      FAIL: test_train_prediction (pyspark.mllib.tests.test_streaming_algorithms.StreamingLinearRegressionWithTests)
      Test that error on test data improves as model is trained.
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/runner/work/spark/spark/python/pyspark/mllib/tests/test_streaming_algorithms.py", line 466, in test_train_prediction
          eventually(condition, timeout=180.0)
        File "/home/runner/work/spark/spark/python/pyspark/testing/utils.py", line 81, in eventually
          lastValue = condition()
        File "/home/runner/work/spark/spark/python/pyspark/mllib/tests/test_streaming_algorithms.py", line 461, in condition
          self.assertGreater(errors[1] - errors[-1], 2)
      AssertionError: 1.672640157855923 not greater than 2
      

        Attachments

          Activity

            People

            • Assignee:
              huaxingao Huaxin Gao
              Reporter:
              cloud_fan Wenchen Fan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: