From 3826139eccedb12e38581709c7c230840ede4cd1 Mon Sep 17 00:00:00 2001 From: ivanovac Date: Fri, 3 Jul 2026 17:54:56 +0300 Subject: [PATCH] Test: Reorder integration tests to diagnose position-dependent failure Move 'Default' test to second position to determine if the consistent failure is related to being the first test to execute or specific to the test itself. If a different test now fails first, it indicates a timing/resource issue. If 'Default' still fails, it's something specific about that test fixture. Related to integration test failure with HTTP 500 error on php.buildpacks.ci.cloudfoundry.org environment. --- src/php/integration/init_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/php/integration/init_test.go b/src/php/integration/init_test.go index 09affd9db..de06866d7 100644 --- a/src/php/integration/init_test.go +++ b/src/php/integration/init_test.go @@ -70,8 +70,9 @@ func TestIntegration(t *testing.T) { // Expect(err).NotTo(HaveOccurred()) suite := spec.New("integration", spec.Report(report.Terminal{}), spec.Parallel()) - suite("Default", testDefault(platform, fixtures)) + // Reordered: Moved "Default" to second position to test if failure is position-dependent suite("Modules", testModules(platform, fixtures)) + suite("Default", testDefault(platform, fixtures)) suite("Composer", testComposer(platform, fixtures)) suite("WebServers", testWebServers(platform, fixtures)) suite("AppFrameworks", testAppFrameworks(platform, fixtures))