Skip to content
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

Relax certificate test - was dependent on build-machine timezone #45

Closed

Conversation

rtyley
Copy link
Contributor

@rtyley rtyley commented Dec 28, 2013

In my London-based JVM, the date was actually Apr 19th, and the asserted string did not match.

In my London-based JVM, the date was actually Apr 19th, and the
asserted string did not match.
@peterdettman
Copy link
Collaborator

Probably your result is showing there's something timezone-related wrong here, so we might better try and fix it to always give the GMT date in the error message.

@rtyley
Copy link
Contributor Author

rtyley commented Dec 30, 2013

Probably your result is showing there's something timezone-related wrong here, so we might better try and fix it to always give the GMT date in the error message.

Yup - rather than relaxing the test, the message can become always GMT (and with a well-specified, non-locale dependent formatting), and then test won't be TimeZone/Locale specific - I can submit another PR with that if you like?

rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 8, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 8, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 9, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 12, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 19, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 19, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 19, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 22, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
rtyley added a commit to rtyley/spongycastle that referenced this pull request Jan 22, 2014
In my London-based JVM, the date was actually Apr 19th, and the
asserted string in NistCertPathTest did not match.

This is an alternative to this prior pull-request, which just relaxed
the test condition to ignore the date:

bcgit#45 (comment)
@peterdettman
Copy link
Collaborator

Dropped in favour of #48 , thanks again!

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.

2 participants