Skip to content

Commit aabced0

Browse files
author
XUANHE ZHOU
committed
different path
1 parent 371df21 commit aabced0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Diff for: misc/test/examples_test.go

+10-1
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,14 @@ func TestAccAwsPyS3Folder(t *testing.T) {
260260
}
261261

262262
func TestAccAwsPyServerlessRaw(t *testing.T) {
263+
cmd := exec.Command("dotnet", "publish")
264+
cmd.Path = path.Join(getCwd(t), "..", "..", "aws-ts-serverless-raw", "app")
265+
cmd.Dir = path.Join(getCwd(t), "..", "..", "aws-ts-serverless-raw")
266+
err := cmd.Run()
267+
if err != nil {
268+
fmt.Printf("err: %v", err)
269+
return
270+
}
263271
test := getAWSBase(t).
264272
With(integration.ProgramTestOptions{
265273
Dir: path.Join(getCwd(t), "..", "..", "aws-py-serverless-raw"),
@@ -504,7 +512,8 @@ func TestAccAwsTsS3LambdaCopyZip(t *testing.T) {
504512
}
505513

506514
func TestAccAwsTsServerlessRaw(t *testing.T) {
507-
cmd := exec.Command("dotnet publish", "app")
515+
cmd := exec.Command("dotnet", "publish")
516+
cmd.Path = path.Join(getCwd(t), "..", "..", "aws-ts-serverless-raw", "app")
508517
cmd.Dir = path.Join(getCwd(t), "..", "..", "aws-ts-serverless-raw")
509518
err := cmd.Run()
510519
if err != nil {

0 commit comments

Comments
 (0)