这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Conversation

@mgeis
Copy link

@mgeis mgeis commented Mar 26, 2014

Turns out my efforts to provide a proper unit test (using invariants) to check what happens during a DST cutover fails if the test is run in a zone like UTC (where DST is not observed). This happens because the tagging monkey does not include timezone info in its tag, so in the unit test, while I specify Los Angeles, when the date is parsed out of the tag by a VM running in UTC, it will fail.

The test has some value, so I commented it out and left the appropriate explanation. To re-activate it, there should be a mockable method that calculates Date values from tags in OldDetachedVolumeRule.

@cloudbees-pull-request-builder

SimianArmy-pull-requests #130 SUCCESS
This pull request looks good

@dziemid
Copy link

dziemid commented Apr 17, 2014

+1, the other test that fails due to timezone is ./src/test/java/com/netflix/simianarmy/basic/TestBasicCalendar.java (Fails in our timezone)

abasiri added a commit that referenced this pull request Apr 17, 2014
commenting out part of test that verifies DST cutover
@abasiri abasiri merged commit 2a698e7 into Netflix:master Apr 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants