pan3793 commented on code in PR #50173: URL: https://github.com/apache/spark/pull/50173#discussion_r1982606487
########## 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: should it be `assert(filter.getProxyAddresses.isEmpty)`? -- 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