Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydahanne committed Sep 25, 2023
1 parent 613154c commit b58ffb9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion java/akka/smoke_test/akka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"flag"
"fmt"
"github.com/paketo-buildpacks/samples/tests"
"log"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -96,7 +97,13 @@ func testAkkaWithBuilder(builder string) func(*testing.T, spec.G, spec.S) {
}

var err error
source, err = occam.Source(filepath.Join("../../", "akka"))
log.Println("YO!!!")
path, err := os.Getwd()
if err != nil {
log.Println(err)
}
fmt.Println(path)
source, err = occam.Source(filepath.Join("../"))
Expect(err).NotTo(HaveOccurred())

var logs fmt.Stringer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"flag"
"fmt"
"github.com/paketo-buildpacks/samples/tests"
"log"
"os"
"path/filepath"
"testing"
Expand Down Expand Up @@ -91,7 +92,13 @@ func testApplicationInsightsWithBuilders(builder string) func(*testing.T, spec.G
context("app uses application insights", func() {
it("builds successfully", func() {
var err error
source, err = occam.Source(filepath.Join("../../java", "application-insights"))
log.Println("YO!!!")
path, err := os.Getwd()
if err != nil {
log.Println(err)
}
fmt.Println(path)
source, err = occam.Source(filepath.Join("../"))
Expect(err).NotTo(HaveOccurred())

var logs fmt.Stringer
Expand Down

0 comments on commit b58ffb9

Please sign in to comment.