apache / apache/kyuubi

[TEST] AdminResourceSuite - list engine - connection share level *** FAILED ***

Open
#3,870 1 comment 0 reactions 0 assignees View on GitHub
kind:test priority:minor
Dominant language
Scala
Stars
2.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.

### What kind of test improve?

- [X] Fix flaky tests.
- [ ] Fix bug in tests.
- [ ] Increase test coverage.
- [ ] Other kinds of test improve.

### Describe the issues of the existing tests or improvements for new tests

https://github.com/apache/incubator-kyuubi/actions/runs/3570419954/jobs/6001371053

```
AdminResourceSuite:
- refresh Hadoop configuration of the kyuubi server
- delete engine - user share level
- delete engine - connection share level
- list engine - user share level
- list engine - connection share level *** FAILED ***
List("8f3528af-27b3-4773-abdc-32af215f79e2", "8751ab08-cfd1-4c6a-b9d6-d100348a80b1", "d669955a-09be-4cfa-90c9-9f725f354dee") had size 3 instead of expected size 2 (AdminResourceSuite.scala:229)
```

### Are you willing to submit PR?

- [ ] Yes. I can submit a PR independently to improve.
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
- [X] No. I cannot submit a PR at this time.

Contributor guide

Open the contributing guide

Research direction

Inspect the linked GitHub Actions failure and AdminResourceSuite.scala around line 229. Investigate why the connection-share-level engine list returns three IDs instead of the expected two, then make the flaky test reliable and verify that the suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.