This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push: new 2add3f3ec chore(e2e): revert a commented test 2add3f3ec is described below commit 2add3f3ec64bb07c0f5e6f646312bc84959a195e Author: Pasquale Congiusti <pasquale.congiu...@gmail.com> AuthorDate: Thu May 30 10:36:59 2024 +0200 chore(e2e): revert a commented test Probably it was commented during development and slipped into a commit. --- e2e/advanced/build_order_strategy_test.go | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/e2e/advanced/build_order_strategy_test.go b/e2e/advanced/build_order_strategy_test.go index 15798e9e5..adfba154b 100644 --- a/e2e/advanced/build_order_strategy_test.go +++ b/e2e/advanced/build_order_strategy_test.go @@ -109,16 +109,13 @@ func TestRunBuildOrderStrategyMatchingDependencies(t *testing.T) { }) } -/* func TestRunBuildOrderStrategyFIFO(t *testing.T) { - WithNewTestNamespace(t, func(ctx context.Context, g *WithT, ns string) {x + WithNewTestNamespace(t, func(ctx context.Context, g *WithT, ns string) { operatorID := "camel-k-build-order-fifo" - g.Expect(CopyCamelCatalog(t, ctx, ns, operatorID)).To(Succeed()) - g.Expect(CopyIntegrationKits(t, ctx, ns, operatorID)).To(Succeed()) - g.Expect(KamelInstallWithID(t, ctx, operatorID, ns, "--build-order-strategy", string(v1.BuildOrderStrategyFIFO)).Execute()).To(Succeed()) - g.Eventually(PlatformPhase(t, ns), TestTimeoutMedium).Should(Equal(v1.IntegrationPlatformPhaseReady)) + g.Expect(KamelInstallWithID(t, ctx, operatorID, ns, "--build-order-strategy", string(v1.BuildOrderStrategyFIFO))).To(Succeed()) + g.Eventually(PlatformPhase(t, ctx, ns), TestTimeoutMedium).Should(Equal(v1.IntegrationPlatformPhaseReady)) - g.Expect(CreateTimerKamelet(t, ctx, ns, "timer-source")()).To(Succeed()) + g.Expect(CreateTimerKamelet(t, ctx, operatorID, ns, "timer-source")()).To(Succeed()) integrationA := RandomizedSuffixName("java-a") g.Expect(KamelRunWithID(t, ctx, operatorID, ns, "files/Java.java", @@ -166,7 +163,6 @@ func TestRunBuildOrderStrategyFIFO(t *testing.T) { g.Eventually(IntegrationLogs(t, ctx, ns, integrationZ), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) g.Eventually(Kit(t, ctx, ns, integrationKitNameZ)().Status.BaseImage).Should(Equal(defaults.BaseImage())) - g.Expect(Kamel(t, "delete", "--all", "-n", ns).Execute()).To(Succeed()) + g.Expect(Kamel(t, ctx, "delete", "--all", "-n", ns).Execute()).To(Succeed()) }) } -*/