cnauroth commented on code in PR #50173: URL: https://github.com/apache/spark/pull/50173#discussion_r1982653029
########## resource-managers/yarn/src/test/scala/org/apache/spark/deploy/yarn/AmIpFilterSuite.scala: ########## @@ -162,8 +162,10 @@ class AmIpFilterSuite extends SparkFunSuite { assert(!filter.getProxyAddresses.isEmpty) // waiting for configuration update eventually(timeout(5.seconds), interval(500.millis)) { - assertThrows[ServletException] { + try { filter.getProxyAddresses.isEmpty Review Comment: Thank you, I understand the feedback now. As it turns out, the result is a non-empty set of addresses, containing the IPv6 address. `eventually` is allowing this to pass, because any return value is considered successful. I'll investigate this more and update the patch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org