Skip to content

Add integration test for --fail-fast#45

Closed
oehme wants to merge 1 commit intoapache:masterfrom
oehme:master
Closed

Add integration test for --fail-fast#45
oehme wants to merge 1 commit intoapache:masterfrom
oehme:master

Conversation

@oehme
Copy link
Copy Markdown
Contributor

@oehme oehme commented Jul 29, 2019

No description provided.

@michael-o
Copy link
Copy Markdown
Member

Will add and run it!

@michael-o
Copy link
Copy Markdown
Member

michael-o commented Jul 29, 2019

I do not understand the test:

  • You are not even passing --fail-fast. Did you forget that?
  • You make sure that Module3 will never run because Module1 will fail, Module2 needs to be built first because Module3 relies on it?

@oehme
Copy link
Copy Markdown
Contributor Author

oehme commented Jul 29, 2019

You are not even passing --fail-fast. Did you forget that?

--fail-fast is the default

You make sure that Module3 will never run because Module1 will fail, Module2 needs to be built first because Module3 relies on it?

Yep

asfgit pushed a commit that referenced this pull request Jul 29, 2019
@michael-o
Copy link
Copy Markdown
Member

@rfscholte . This looks good to me. It properly passes on my Windows 10 desktop, an old, low-perf 4-thread Atom CPU with FreeBSD 11.2-RELEASE and a 20-thread Xeon server with FreeBSD 12-STABLE. I'd ready to merge this into master along with the Maven change.

@michael-o michael-o self-requested a review July 29, 2019 17:41
@michael-o
Copy link
Copy Markdown
Member

I will now also try the negative case with Maven from master.

@michael-o
Copy link
Copy Markdown
Member

Very good, with Maven from master:

mng6720FailFast(ItShouldWaitForConcurrentModulesToFinish)...FAILURE (3.1 s)
[INFO] Skipping parent
[INFO] This project has been banned from the build due to previous failures.
[INFO] module-1 ........................................... FAILURE [  2.905 s]
[INFO] ------------------------------------------------------------------------
[INFO] module-2 ........................................... SKIPPED
[INFO] module-3 ........................................... SKIPPED
[INFO] parent ............................................. SKIPPED
[INFO] ------------------------------------------------------------------------

@olamy
Copy link
Copy Markdown
Member

olamy commented Jul 29, 2019

IT test for apache/maven#272

asfgit pushed a commit that referenced this pull request Jul 29, 2019
@oehme
Copy link
Copy Markdown
Contributor Author

oehme commented Jul 30, 2019

Am I correct that this has been merged, so the PR can be closed now?

@olamy
Copy link
Copy Markdown
Member

olamy commented Jul 30, 2019

@oehme some changes have been requested :)

@oehme
Copy link
Copy Markdown
Contributor Author

oehme commented Jul 30, 2019

Yeah, but @michael-o already did those changes and committed here: 3ccccc4

@olamy
Copy link
Copy Markdown
Member

olamy commented Jul 30, 2019

merged via 3ccccc4

@olamy olamy closed this Jul 30, 2019
@michael-o
Copy link
Copy Markdown
Member

michael-o commented Jul 30, 2019

I have now merged into master. @olamy the commit existed on a branch only. No issue. All is fine now.

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.

4 participants