node-gradle/gradle-node-plugin

Add HTTPS support to integration tests

Open

#195 opened on Sep 7, 2021

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Groovy (122 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (674 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

With no changes in the code we've started getting failures like this:

java.lang.AssertionError: Request not found exactly once, expected:<{
          "method" : "GET",
          "path" : "/case",
          "headers" : {
            "Host" : [ "registry.npmjs.org:80" ]
          },
          "secure" : false
        }> but was:<{
          "method" : "POST",
          "path" : "/-/npm/v1/security/audits/quick",

We probably just need to disable audits in the integration tests since we're mocking for proxy testing purposes.

Contributor guide