Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/remoting
  Commit: 498c66196387cc90db9200c7e981ca3786a054dd
      
https://github.com/jenkinsci/remoting/commit/498c66196387cc90db9200c7e981ca3786a054dd
  Author: David Hoover <dhoo...@google.com>
  Date:   2015-05-18 (Mon, 18 May 2015)

  Changed paths:
    M src/test/java/org/jenkinsci/remoting/engine/JnlpProtocol2Test.java

  Log Message:
  -----------
  Deflake JnlpProtocol2Test

PowerMockito wasn't being told to prep Properties.class to have its
'new Date()' call hijacked, so it wasn't actually doing it. That said,
even adding that didn't seem to help.

But instead of reaching into the implementation details, I've written a
custom Matcher to just verify that the output string representation of
the Properties parses back to the expected values. As an added benefit,
this no longer depends on two identical Properties objects writing keys
in the same order when store() is called, since the API there doesn't
actually guarantee that.


  Commit: 826a82004345d7c104703ee62293f8b7584f5595
      
https://github.com/jenkinsci/remoting/commit/826a82004345d7c104703ee62293f8b7584f5595
  Author: Kohsuke Kawaguchi <k...@kohsuke.org>
  Date:   2015-09-07 (Mon, 07 Sep 2015)

  Changed paths:
    M src/test/java/org/jenkinsci/remoting/engine/JnlpProtocol2Test.java

  Log Message:
  -----------
  Merge pull request #51 from deadmoose/deflake_jnlp

Deflake JnlpProtocol2Test


Compare: 
https://github.com/jenkinsci/remoting/compare/147aa447e036...826a82004345

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to