-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into chore/update-workflows
- Loading branch information
Showing
4 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -858,7 +858,12 @@ const createTestSuite = ({ | |
// For SSL, we need to return curl's stderr to check what kind of error was there | ||
const output = await curlGet(curlUrl, `http://bad:[email protected]:${mainProxyServerPort}`, !useSsl); | ||
if (useSsl) { | ||
expect(output).to.contain('Received HTTP code 407 from proxy after CONNECT'); | ||
expect(output).to.contain.oneOf([ | ||
// Old error message before dafdb20a26d0c890e83dea61a104b75408481ebd | ||
'Received HTTP code 407 from proxy after CONNECT', | ||
// and that after | ||
'CONNECT tunnel failed, response 407', | ||
]); | ||
} else { | ||
expect(output).to.contain('Proxy credentials required'); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters