Skip to content
3 changes: 0 additions & 3 deletions fixtures/https_redirect/with_env/manifest.yml

This file was deleted.

5 changes: 3 additions & 2 deletions src/staticfile/integration/default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func testDefault(platform switchblade.Platform, fixtures string) func(*testing.T
t.Logf("❌ FAILED TEST - App/Container: %s", name)
t.Logf(" Platform: %s", settings.Platform)
}
if name != "" && (!settings.KeepFailedContainers || !t.Failed()) {
if name != "" && !t.Skipped() && (!settings.KeepFailedContainers || !t.Failed()) {
Expect(platform.Delete.Execute(name)).To(Succeed())
}
})
Expand Down Expand Up @@ -66,7 +66,7 @@ func testDefault(platform switchblade.Platform, fixtures string) func(*testing.T
})

context("when deploying a staticfile app", func() {
it("properly logs stdout and stderr", func() {
it.Focus("properly logs stdout and stderr", func() {
Comment thread
tnikolova82 marked this conversation as resolved.
Outdated
deployment, _, err := platform.Deploy.
Execute(name, filepath.Join(fixtures, "default", "simple"))
Expect(err).NotTo(HaveOccurred())
Expand Down Expand Up @@ -98,6 +98,7 @@ func testDefault(platform switchblade.Platform, fixtures string) func(*testing.T
Expect(string(output)).To(ContainSubstring("GET / HTTP/1.1"))
Expect(string(output)).To(ContainSubstring("GET /does-not-exist HTTP/1.1"))

//how to handle this in CF?
Comment thread
tnikolova82 marked this conversation as resolved.
Outdated
cmd = exec.Command("docker", "container", "exec", deployment.Name, "stat", "app/nginx/logs/access.log", "app/nginx/logs/error.log")
Expect(cmd.Run()).To(Succeed())
})
Expand Down
Loading