Skip to content

Commit 7269bf9

Browse files
committed
Update test assert and rever update to install_go.sh script
1 parent b3a7e76 commit 7269bf9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

scripts/install_go.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ function main() {
2020

2121
if [[ ! -f "${dir}/go/bin/go" ]]; then
2222
local url
23-
url="https://buildpacks.cloudfoundry.org/dependencies/go/go_${version}_linux_x64_${CF_STACK}_${expected_sha:0:8}.tgz"
23+
# TODO: use exact stack based dep, after go buildpack has cflinuxfs4 support
24+
#url="https://buildpacks.cloudfoundry.org/dependencies/go/go_${version}_linux_x64_${CF_STACK}_${expected_sha:0:8}.tgz"
25+
url="https://buildpacks.cloudfoundry.org/dependencies/go/go_${version}_linux_x64_cflinuxfs3_${expected_sha:0:8}.tgz"
2426

2527
echo "-----> Download go ${version}"
2628
curl "${url}" \

src/python/integration/deploy_python_app_pipenv_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ var _ = Describe("deploying a flask web app", func() {
7070

7171
It("should fail because it requires all dependencies to be vendored", func() {
7272
Expect(app.Push()).ToNot(Succeed())
73-
Expect(app.Stdout.String()).ToNot(ContainSubstring("Running Pip Install (Vendored)"))
74-
Expect(app.Stdout.String()).ToNot(ContainSubstring("Running pip install failed. You need to include all dependencies in the vendor directory."))
73+
Expect(app.Stdout.String()).To(ContainSubstring("Running Pip Install (Vendored)"))
74+
Expect(app.Stdout.String()).To(ContainSubstring("Running pip install failed. You need to include all dependencies in the vendor directory."))
7575
})
7676
})
7777
})

0 commit comments

Comments
 (0)