diff --git a/integration/build_flags_test.go b/integration/build_flags_test.go index 81508ae..f5041aa 100644 --- a/integration/build_flags_test.go +++ b/integration/build_flags_test.go @@ -75,7 +75,7 @@ func testBuildFlags(t *testing.T, context spec.G, it spec.S) { Eventually(container).Should( Serve( SatisfyAll( - ContainSubstring("go1.21.9"), + ContainSubstring("go1.21.10"), ContainSubstring(`variable value: "some-value"`), ContainSubstring("/workspace contents: []"), ), @@ -123,7 +123,7 @@ func testBuildFlags(t *testing.T, context spec.G, it spec.S) { Eventually(container).Should( Serve( SatisfyAll( - ContainSubstring("go1.21.9"), + ContainSubstring("go1.21.10"), ContainSubstring(`variable value: "env-value"`), ContainSubstring("/workspace contents: []"), ), diff --git a/integration/default_test.go b/integration/default_test.go index 791bec9..99cf7ad 100644 --- a/integration/default_test.go +++ b/integration/default_test.go @@ -85,7 +85,7 @@ func testDefault(t *testing.T, context spec.G, it spec.S) { Eventually(container).Should( Serve( SatisfyAll( - ContainSubstring("go1.21.9"), + ContainSubstring("go1.21.10"), ContainSubstring("/workspace contents: []"), ), ).OnPort(8080), @@ -172,7 +172,7 @@ func testDefault(t *testing.T, context spec.G, it spec.S) { Execute(image.ID) Expect(err).NotTo(HaveOccurred()) - Eventually(container).Should(Serve(ContainSubstring("go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("go1.21.10")).OnPort(8080)) }) }) @@ -223,7 +223,7 @@ func testDefault(t *testing.T, context spec.G, it spec.S) { Eventually(container).Should( Serve( SatisfyAll( - ContainSubstring("go1.21.9"), + ContainSubstring("go1.21.10"), ContainSubstring("/workspace contents: []"), ), ).OnPort(8080), @@ -283,7 +283,7 @@ func testDefault(t *testing.T, context spec.G, it spec.S) { Execute(image.ID) Expect(err).NotTo(HaveOccurred()) - Eventually(container).Should(Serve(ContainSubstring("go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("go1.21.10")).OnPort(8080)) Expect(logs).To(ContainLines( " Assigning launch processes:", @@ -299,7 +299,7 @@ func testDefault(t *testing.T, context spec.G, it spec.S) { Execute(image.ID) Expect(err).NotTo(HaveOccurred()) - Eventually(noReloadContainer).Should(Serve(ContainSubstring("go1.21.9")).OnPort(8080)) + Eventually(noReloadContainer).Should(Serve(ContainSubstring("go1.21.10")).OnPort(8080)) }) }) } diff --git a/integration/import_path_test.go b/integration/import_path_test.go index d319fd3..3d981cd 100644 --- a/integration/import_path_test.go +++ b/integration/import_path_test.go @@ -75,7 +75,7 @@ func testImportPath(t *testing.T, context spec.G, it spec.S) { Eventually(container).Should( Serve( SatisfyAll( - ContainSubstring("go1.21.9"), + ContainSubstring("go1.21.10"), ContainSubstring("/workspace contents: []"), ), ).OnPort(8080), diff --git a/integration/keep_files_test.go b/integration/keep_files_test.go index 9ec4684..5f0af5e 100644 --- a/integration/keep_files_test.go +++ b/integration/keep_files_test.go @@ -75,7 +75,7 @@ func testKeepFiles(t *testing.T, context spec.G, it spec.S) { Eventually(container).Should( Serve( SatisfyAll( - ContainSubstring("go1.21.9"), + ContainSubstring("go1.21.10"), ContainSubstring("/workspace contents: [/workspace/assets /workspace/static-file]"), ContainSubstring("file contents: Hello world!"), ), diff --git a/integration/mod_test.go b/integration/mod_test.go index 83359f4..83a25a3 100644 --- a/integration/mod_test.go +++ b/integration/mod_test.go @@ -82,7 +82,7 @@ func testMod(t *testing.T, context spec.G, it spec.S) { Execute(image.ID) Expect(err).NotTo(HaveOccurred()) - Eventually(container).Should(Serve(ContainSubstring("go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("go1.21.10")).OnPort(8080)) // check that all required SBOM files are present Expect(filepath.Join(sbomDir, "sbom", "launch", strings.ReplaceAll(settings.Buildpack.ID, "/", "_"), "targets", "sbom.cdx.json")).To(BeARegularFile()) @@ -119,7 +119,7 @@ func testMod(t *testing.T, context spec.G, it spec.S) { Execute(image.ID) Expect(err).NotTo(HaveOccurred()) - Eventually(container).Should(Serve(ContainSubstring("go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("go1.21.10")).OnPort(8080)) // check that all required SBOM files are present Expect(filepath.Join(sbomDir, "sbom", "launch", strings.ReplaceAll(settings.Buildpack.ID, "/", "_"), "targets", "sbom.cdx.json")).To(BeARegularFile()) diff --git a/integration/targets_test.go b/integration/targets_test.go index e34bab9..07932d6 100644 --- a/integration/targets_test.go +++ b/integration/targets_test.go @@ -86,7 +86,7 @@ func testTargets(t *testing.T, context spec.G, it spec.S) { Expect(err).NotTo(HaveOccurred()) containerIDs[container.ID] = struct{}{} - Eventually(container).Should(Serve(ContainSubstring("first: go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("first: go1.21.10")).OnPort(8080)) Expect(logs).To(ContainLines( " Assigning launch processes:", @@ -104,7 +104,7 @@ func testTargets(t *testing.T, context spec.G, it spec.S) { Expect(err).NotTo(HaveOccurred()) containerIDs[container.ID] = struct{}{} - Eventually(container).Should(Serve(ContainSubstring("second: go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("second: go1.21.10")).OnPort(8080)) // check that all required SBOM files are present Expect(filepath.Join(sbomDir, "sbom", "launch", strings.ReplaceAll(settings.Buildpack.ID, "/", "_"), "targets", "sbom.cdx.json")).To(BeARegularFile()) diff --git a/integration/vendor_test.go b/integration/vendor_test.go index c27a5c1..a9cc4f0 100644 --- a/integration/vendor_test.go +++ b/integration/vendor_test.go @@ -71,7 +71,7 @@ func testVendor(t *testing.T, context spec.G, it spec.S) { Execute(image.ID) Expect(err).NotTo(HaveOccurred()) - Eventually(container).Should(Serve(ContainSubstring("go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("go1.21.10")).OnPort(8080)) }) }) @@ -120,7 +120,7 @@ func testVendor(t *testing.T, context spec.G, it spec.S) { Execute(image.ID) Expect(err).NotTo(HaveOccurred()) - Eventually(container).Should(Serve(ContainSubstring("go1.21.9")).OnPort(8080)) + Eventually(container).Should(Serve(ContainSubstring("go1.21.10")).OnPort(8080)) }) }) }