Skip to content

Azure Dev Ops regression with nx 8.4 affected:test task doesn't finish #1666

Closed

Description

Please make sure you have read the submission guidelines before posting an issue

Prerequisites

Please answer the following questions for yourself before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (not related to Angular, AngularCLI or any dependency)

Expected Behavior

run yarn affected test sends a done signal that is recognized by azure dev ops

Current Behavior

After all tests are completed the test task hangs forever.

Context

Please provide any relevant information about your setup:

  • version of Nx used
    8.4.1
  • version of Angular CLI used
    8.1.1

Hi,

I just upgraded our dependencies to the newest NX version via yarn update.
On my local machine (MacOs) all works perfectly.

But unfortunately our CI Build (runs on ubuntu) hangs on the test task.
To run the tests for our PR triggered builds we ran the following command:

yarn affected:test --parallel --base=origin/master --head=HEAD

This worked flawlessly before the update.
Now all tests run (and pass) but the test doesn't finish. The output on the console is the following

NX SUCCESS Running target "test" for affected projects succeeded

On my local machine it is followed with this message:
✨ Done in 137.25s.

I am not sure if the ✨ is new. Could that be the issue?
Unfortunately we can't upgrade to this behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions