-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(dws/queue): replacing the list api with the query detail api and adjust acceptance test #5436
Conversation
f53fc75
to
390accd
Compare
make testacc TEST=./huaweicloud/services/acceptance/dws TESTARGS='-run TestAccResourceWorkloadQueue_' |
390accd
to
18e228a
Compare
return common.CheckDeletedDiag(d, err, "DWS workload queue") | ||
} | ||
// 1. "DWS.0047": The cluster ID is a standard UUID, the status code is 404. | ||
// 2. Resource does not exist. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// 2. Resource does not exist. | |
// 2. The API response includes these cases about resource not found: |
docs/resources/dws_workload_queue.md
Outdated
@@ -111,8 +112,8 @@ and **cpu_share** are exclusive, one of them must be set, and the **cpu_limit** | |||
no restriction, unit: MB. | |||
+ When the `resource name` is **activestatements**, the value range is from `-1` to `2,147,483,647`, where `-1` and | |||
`0` indicates no control. | |||
+ When the `resource name` is **cpu_limit**, the value range is from `0` to `99`, unit: %. | |||
+ When the `resource name` is **cpu_share**, the value range is from `0` to `99`, unit: %. | |||
+ When the `resource name` is **cpu_limit**, the value range is from `1` to `99`, `0` means unlimited, unit: %. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ When the `resource name` is **cpu_limit**, the value range is from `1` to `99`, `0` means unlimited, unit: %. | |
+ When the `resource name` is **cpu_limit**, the value range is from `0` to `99`, `0` means unlimited, unit: %. |
18e228a
to
62265e5
Compare
62265e5
to
5822bd0
Compare
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR has been approved by: @Lance52259
/approve
/lgtm
What this PR does / why we need it:
Which issue this PR fixes:
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)fixes #xxx
Special notes for your reviewer:
Release note:
PR Checklist
Documentation updated.
Schema updated.
CheckDeleted.
a. During query operation (Read Context)

aa. Resource not found
ab. Related resources (parent resources) not found

The DWS cluster ID does not exist (standard UUID).
Unspecifies logical cluster name in logical cluster mode.

Logical cluster name does not exist in logical cluster mode.

b. During delete/disassociate/unbind operation (Delete Context)
ba. Resource not found
>>>>>> Paste the screenshot here <<<<<<