Less yammering, more hammering: fix two broken windows tests#8539
Less yammering, more hammering: fix two broken windows tests#8539SethTisue merged 1 commit intoscala:2.13.xfrom
Conversation
dc139bb to
49fe654
Compare
|
I broke my previous PR (personal record) and broke the |
49fe654 to
c9c19e3
Compare
|
The previous attempt to close everything still doesn't allow the file delete on windows, so the last change is not to attempt the delete on windows, so that tests can succeed for CI. |
|
OK, since when is |
c9c19e3 to
dc8c73b
Compare
|
quoting fommil: "Why, oh why, Windows, must you put us through this?" the bug I'll try the Edit: the |
|
Travis green, Jenkins Windows green, Jenkins Linux has |
|
I started looking at There is no doubt a real solution for |
lrytz
left a comment
There was a problem hiding this comment.
OK, since when is
reflect.ioa mima api?
Only reflect.internal is excluded. Not sure reflect.io ends being used by macros.
dc8c73b to
e42a14d
Compare
|
(rebased for the |
|
https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-windows/1177/ has a different failure, |
|
sbt completion doesn't work on windows in ordinary cmd. Oh, you mustn't allow it to autocomplete with forward slash, because that will break subsequent backslashing. |
|
It must be a thing, and not an artifact of test environment. It can't load the class: and also fails standalone: |
|
The debug says everything is correct except the class isn't loaded, so this is my stop, I'll be getting off now. I can never remember Shout out to Paul for "and parent being..." in the text. |
|
Oh, the jar entries have backslashes. I may have given the false impression that I hate windows with an ordinary loathing. |
e42a14d to
767bd9f
Compare
|
Yeah, baby. We should say, "All dots," to mean "SUCCESS", or no
|
|
LGTM for merge, but @lrytz can you make the call about |
|
@SethTisue I'll change it, it was just for the free resource release. |
Just closing didn't fix it on windows; another option is opening for delete on close; or, as here, just demur on windows because who cares. Also fix another broken test on windows where a jar file was created with backslash in the entry names.
767bd9f to
60c56a2
Compare
|
less slobbering, more clobbering! 👊 |
|
@som-snytt it appears from https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-windows/ (first failure: https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-windows/1558/) that the t11802 fix needs a 2.12.x backport, but leave it ’til you're done basking in https://twitter.com/adriaanm/status/1199678543317413888 |
|
I can't keep the branches straight. Thanks @adriaanm does that include reversions? Edit: it gives new meaning to the phrase, "elusive quality." |
|
type-tag-leak.scala has failed 2 out of the last 8 runs at https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-integrate-windows/ |
|
Is that the good news or the bad news? |
|
re: type-tag-leak, I've alerted Jason and Lukas over at #8546 |
Full disclosure: I haven't actually run this on windows yet.
ZipArchiveisAutocloseableand used inUsingexpressions.The
ZipArchiveshould be closed (released) first, then the temp file should be deleted (released).