aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/sql/tests.py
diff options
context:
space:
mode:
authorMichael Armbrust <michael@databricks.com>2016-12-07 15:36:29 -0800
committerTathagata Das <tathagata.das1565@gmail.com>2016-12-07 15:36:29 -0800
commit70b2bf717d367d598c5a238d569d62c777e63fde (patch)
tree340f28fa9c4072d237ebc10097e5d2c69142b555 /python/pyspark/sql/tests.py
parentedc87e18922b98be47c298cdc3daa2b049a737e9 (diff)
downloadspark-70b2bf717d367d598c5a238d569d62c777e63fde.tar.gz
spark-70b2bf717d367d598c5a238d569d62c777e63fde.tar.bz2
spark-70b2bf717d367d598c5a238d569d62c777e63fde.zip
[SPARK-18754][SS] Rename recentProgresses to recentProgress
Based on an informal survey, users find this option easier to understand / remember. Author: Michael Armbrust <michael@databricks.com> Closes #16182 from marmbrus/renameRecentProgress.
Diffstat (limited to 'python/pyspark/sql/tests.py')
-rw-r--r--python/pyspark/sql/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pyspark/sql/tests.py b/python/pyspark/sql/tests.py
index 66a3490a64..50df68b144 100644
--- a/python/pyspark/sql/tests.py
+++ b/python/pyspark/sql/tests.py
@@ -1116,11 +1116,11 @@ class SQLTests(ReusedPySparkTestCase):
try:
q.processAllAvailable()
lastProgress = q.lastProgress
- recentProgresses = q.recentProgresses
+ recentProgress = q.recentProgress
status = q.status
self.assertEqual(lastProgress['name'], q.name)
self.assertEqual(lastProgress['id'], q.id)
- self.assertTrue(any(p == lastProgress for p in recentProgresses))
+ self.assertTrue(any(p == lastProgress for p in recentProgress))
self.assertTrue(
"message" in status and
"isDataAvailable" in status and