Skip to content

Fix broken unit tests on CI machine#370

Merged
gcheng merged 6 commits into
Azure:releasefrom
gcheng:release
Jun 27, 2013
Merged

Fix broken unit tests on CI machine#370
gcheng merged 6 commits into
Azure:releasefrom
gcheng:release

Conversation

@gcheng

@gcheng gcheng commented Jun 27, 2013

Copy link
Copy Markdown

No description provided.

Albert Cheng added 5 commits June 26, 2013 11:19

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: should the .format be on same line with String?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was auto-formated by Eclipse, I guess when the line is long enough, Eclipse will try to put it into two lines. Even if I change it back, next time we click save, it will be changed into two line format :(

@ogail

ogail commented Jun 27, 2013

Copy link
Copy Markdown
Contributor

LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is media services no longer returning version numbers, or is it that they're churning too quickly to keep the test working?

If they change a lot, it might be worth having an assertNotNull on the getVersion call to make sure you got something, even if we can't control/predict what the actual value will be.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a good idea to make some validation, I will add a little bit logic to ensure the length of the version element is greater than 0.

gcheng pushed a commit that referenced this pull request Jun 27, 2013
Fix broken unit tests on CI machine
@gcheng
gcheng merged commit a17cd2c into Azure:release Jun 27, 2013
jianghaolu pushed a commit to jianghaolu/azure-sdk-for-java that referenced this pull request Apr 5, 2017
Fix broken unit tests on CI machine
sima-zhu pushed a commit to sima-zhu/azure-sdk-for-java that referenced this pull request Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants