Skip to content

Commit 0314476

Browse files
authored
Fixing testDotsInFieldNames (#1905)
Calling refresh() in an integration test so that it consistently succeeds.
1 parent 5688a99 commit 0314476

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spark/sql-30/src/itest/scala/org/elasticsearch/spark/integration/AbstractScalaEsSparkSQL.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2552,6 +2552,7 @@ class AbstractScalaEsScalaSparkSQL(prefix: String, readMetadata: jl.Boolean, pus
25522552
val (target, docPath) = makeTargets(index, typed)
25532553
RestUtils.postData(docPath, "{\"b\":0,\"e\":{\"f.g\":\"hello\"}}".getBytes("UTF-8"))
25542554
val df = sqc.read.format("es").load(index)
2555+
RestUtils.refresh(index)
25552556
df.count()
25562557
}
25572558

0 commit comments

Comments
 (0)