apache / submarine

Submarine is Cloud Native Machine Learning Platform.
https://submarine.apache.org/
Apache License 2.0
691 stars 254 forks source link

SUBMARINE-1368. Fix SysUserRestApiTest editUserTest test error #1050

Closed cdmikechen closed 1 year ago

cdmikechen commented 1 year ago

What is this PR for?

There is an exception in the method of obtaining users in SysUserRestApiTest class. If the size of users is greater than 1, the actual test users may not be obtained. We need to add a filter condition.

What type of PR is it?

Bug Fix

Todos

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-1368

How should this be tested?

This test case can be used to verify this problem

Screenshots (if appropriate)

NA

Questions:

codecov[bot] commented 1 year ago

Codecov Report

Merging #1050 (53d4ab5) into master (0ecfe38) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1050   +/-   ##
=======================================
  Coverage   75.98%   75.98%           
=======================================
  Files         119      119           
  Lines        5000     5000           
=======================================
  Hits         3799     3799           
  Misses       1201     1201           
Flag Coverage Δ
python-integration 59.72% <ø> (ø)
python-unit 52.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more