You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ul...@apache.org on 2022/04/02 09:50:26 UTC
[incubator-kyuubi] branch master updated: [KYUUBI #2268] Flaky test: submit spark app timeout with last log output
This is an automated email from the ASF dual-hosted git repository.
ulyssesyou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 2af5067 [KYUUBI #2268] Flaky test: submit spark app timeout with last log output
2af5067 is described below
commit 2af5067aca5a485bf69ab85de94b6fe53b0cf7c9
Author: sychen <sy...@trip.com>
AuthorDate: Sat Apr 2 17:50:18 2022 +0800
[KYUUBI #2268] Flaky test: submit spark app timeout with last log output
### _Why are the changes needed?_
close https://github.com/apache/incubator-kyuubi/issues/2268
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
Closes #2274 from cxzl25/KYUUBI-2268.
Closes #2268
684f68c0 [sychen] remove UT
Authored-by: sychen <sy...@trip.com>
Signed-off-by: ulysses-you <ul...@apache.org>
---
.../operation/KyuubiOperationPerConnectionSuite.scala | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerConnectionSuite.scala b/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerConnectionSuite.scala
index 5cbf38c..f675466 100644
--- a/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerConnectionSuite.scala
+++ b/kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerConnectionSuite.scala
@@ -26,7 +26,7 @@ import scala.collection.JavaConverters._
import org.apache.hive.service.rpc.thrift.{TExecuteStatementReq, TFetchResultsReq, TGetOperationStatusReq, TOperationState, TStatusCode}
import org.scalatest.time.SpanSugar.convertIntToGrainOfTime
-import org.apache.kyuubi.{Utils, WithKyuubiServer}
+import org.apache.kyuubi.WithKyuubiServer
import org.apache.kyuubi.config.KyuubiConf
import org.apache.kyuubi.config.KyuubiConf.SESSION_CONF_ADVISOR
import org.apache.kyuubi.jdbc.KyuubiHiveDriver
@@ -63,19 +63,6 @@ class KyuubiOperationPerConnectionSuite extends WithKyuubiServer with HiveJDBCTe
}
}
- test("submit spark app timeout with last log output") {
- withSessionConf()(Map(
- KyuubiConf.ENGINE_INIT_TIMEOUT.key -> "2000",
- KyuubiConf.SESSION_ENGINE_LAUNCH_ASYNC.key -> "false"))(Map.empty) {
- val exception = intercept[SQLException] {
- withJdbcStatement() { _ => // no-op
- }
- }
- val verboseMessage = Utils.stringifyException(exception)
- assert(verboseMessage.contains("Failed to detect the root cause"))
- }
- }
-
test("client sync query cost time longer than engine.request.timeout") {
withSessionConf(Map(
KyuubiConf.ENGINE_REQUEST_TIMEOUT.key -> "PT5S"))(Map.empty)(Map.empty) {