-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Batch] update tests #11836
[Batch] update tests #11836
Conversation
result = await client.pool.get("nodesdktestpool1"); | ||
metadata = result.metadata![0]; | ||
if (result.allocationState === "resizing") { | ||
await wait(10000); |
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.
You should not wait. You should probably poll the expected state and then timeout if it doesn't reach it in the specified time.
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.
@xingwu1 Can you do a run of the tests for this package and confirm that we are good to go? After that we can look into releasing this package. |
Add new DevOps API swagger (Azure#11836) * Add new DevOps API swagger * Fix SDK error * updating swagger version 2020-08-01-preview
Fix compile errors in the batch test suite after regenerating using the latest swagger. The test suite runs all green now.