Skip to content

[TASK][EASY] Fix flaky test SessionsResourceSuite #5600

@yaooqinn

Description

@yaooqinn

Code of Conduct

Search before creating

  • I have searched in the task list and found no similar tasks.

Mentor

  • I have sufficient knowledge and experience of this task, and I volunteer to be the mentor of this task to guide contributors to complete the task.

Skill requirements

  • scala

Background and Goals

SessionsResourceSuite:
- open/close and count session *** FAILED ***
  1 equaled 1, but 0 did not equal 1 (SessionsResourceSuite.scala:65)
- getSessionList *** FAILED ***
  List(Map("duration" -> 0, "sessionType" -> "INTERACTIVE", "identifier" -> "96ca05ee-ecb1-49cd-a2e4-66cbf49ed343", "createTime" -> 1698822938391, "ipAddr" -> "127.0.0.1", "exception" -> "", "kyuubiInstance" -> "localhost:35415", "idleTime" -> 78, "engineId" -> "", "conf" -> Map("kyuubi.session.real.user" -> "anonymous", "testConfig" -> "testValue", "kyuubi.client.ipAddress" -> "127.0.0.1", "kyuubi.session.connection.url" -> "localhost:35415", "kyuubi.server.ipAddress" -> "localhost"), "user" -> "anonymous")) was not empty (SessionsResourceSuite.scala:104)

Implementation steps

fix these tests above that occasionally fail in CI

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions