Skip to content

Commit 4168827

Browse files
author
Ankit Saini
authored
Fix failing pipeline (#667)
* Make ci-requirements.sh executable * Fix url for packages-microsoft-prod.deb * Skip unsupportedMethods collection
1 parent dad3fb8 commit 4168827

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

codegens/csharp-httpclient/test/newman/newman.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ describe('convert for different request types', function () {
1111
// Run script required to run the generated code snippet
1212
runScript: 'dotnet run --project ' + projectPath,
1313
// Compile script required to compile the code snippet
14-
compileScript: 'dotnet build ' + projectPath
14+
compileScript: 'dotnet build ' + projectPath,
15+
skipCollections: ['unsupportedMethods']
1516
},
1617
options = {
1718
includeBoilerplate: true

npm/ci-requirements.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ popd &>/dev/null;
3434
echo "Installing dependencies required for tests in codegens/csharp-httpclient"
3535
# Install latest .net6.0 sdk
3636
pushd ./codegens/csharp-httpclient &>/dev/null;
37-
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
37+
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
3838
sudo dpkg -i packages-microsoft-prod.deb
3939
sudo apt-get install apt-transport-https
4040
sudo apt-get update

0 commit comments

Comments
 (0)