From b382ed0dd87e9e19cab40f3e6b596c042ecdc066 Mon Sep 17 00:00:00 2001 From: ulysses-you Date: Mon, 30 Aug 2021 18:00:36 +0800 Subject: [PATCH] [KYUUBI #988][FOLLOW] Fix test failed since event type changed ### _Why are the changes needed?_ Fix test ### _How was this patch tested?_ - [x] 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.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1001 from ulysses-you/kyuubi-988. Closes #988 378a75bb [ulysses-you] fix Authored-by: ulysses-you Signed-off-by: ulysses-you --- .../org/apache/kyuubi/events/EventLoggingServiceSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kyuubi-server/src/test/scala/org/apache/kyuubi/events/EventLoggingServiceSuite.scala b/kyuubi-server/src/test/scala/org/apache/kyuubi/events/EventLoggingServiceSuite.scala index c38e5e533..42497879f 100644 --- a/kyuubi-server/src/test/scala/org/apache/kyuubi/events/EventLoggingServiceSuite.scala +++ b/kyuubi-server/src/test/scala/org/apache/kyuubi/events/EventLoggingServiceSuite.scala @@ -88,7 +88,7 @@ class EventLoggingServiceSuite extends WithKyuubiServer with JDBCTestUtils { } val eventPath = - Paths.get(logRoot.toString, "kyuubi-session", s"day=$currentDate") + Paths.get(logRoot.toString, "kyuubi_session", s"day=$currentDate") withSessionConf()(Map.empty)(Map("spark.sql.shuffle.partitions" -> "2")) { withJdbcStatement() { statement => val res = statement.executeQuery(