-
Notifications
You must be signed in to change notification settings - Fork 230
"azure-functions.test.js" test failure: Syntax error: "(" unexpected
#3279
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
Comments
This is due to Azure/azure-functions-core-tools#3335
By "corrupt" I mean it won't execute:
workaroundAs a workaround for now, I'll skip AF testing for those node versions. |
Just skip them until Azure/azure-functions-core-tools#3335 is resolved. This also bumps the azure-functions-core-tools dep and sets up dependabot for that package. Refs: #3279
Just skip them until Azure/azure-functions-core-tools#3335 is resolved. This also bumps the azure-functions-core-tools dep and sets up dependabot for that package. Refs: #3279
The issue in azure-functions-core-tools is fixed, but we need to wait for a release after |
note to self: enode9 |
There is a new release yesterday that should resolve this:
However,
So I'm not sure what is going on there. |
This removes the workaround added in #3281. The core issue was fixed in [email protected] Fixes: #3279
The repro I had on the source issue no longer reproduces so I think the root issue is fixed:
... I needed to update "test/instrumentation/azure-functions/fixtures/AJsAzureFnApp/package-lock.json" to the new [email protected]. I've done this in #3307 |
There is now a failure with 14.0.0 tests that is similar.
I suspect the [email protected] release broke something here. Our tests with the latest node 14 work. Workaround: I'll just change to skip testing for 14.0.0. Ideally we'd know a specific 14.x.y version where this starts breaking, but again, it isn't worth the time pursuing, IMHO. |
This changes the workaround added in #3281. The core issue with testing with node >=18.x was fixed in [email protected] However, an issue testing with node v14.0.0 was introduced. We work around this by just not testing with node v14.0.0. Testing with the latest node v14.x passes. Refs: #3281 Fixes: #3279
This changes the workaround added in #3281. The core issue with testing with node >=18.x was fixed in [email protected] However, an issue testing with node v14.0.0 was introduced. We work around this by just not testing with node v14.0.0. Testing with the latest node v14.x passes. Refs: #3281 Fixes: #3279
…c#3281) Just skip them until Azure/azure-functions-core-tools#3335 is resolved. This also bumps the azure-functions-core-tools dep and sets up dependabot for that package. Refs: elastic#3279
This changes the workaround added in elastic#3281. The core issue with testing with node >=18.x was fixed in [email protected] However, an issue testing with node v14.0.0 was introduced. We work around this by just not testing with node v14.0.0. Testing with the latest node v14.x passes. Refs: elastic#3281 Fixes: elastic#3279
Recently, there has been a new failure in the azure-functions test:
This started happening yesterday on the #3274 PR, e.g. https://github.com/elastic/apm-agent-nodejs/actions/runs/4753789197/jobs/8450388109
It is reproducible in a docker test run via:
.ci/scripts/test.sh -b release 18
. I'm not yet sure if it is related to Node v18... or perhaps a particular version of node v18. The main relevant error output is:The text was updated successfully, but these errors were encountered: