Skip to content

Commit

Permalink
Merge pull request #79514 from rafiss/backport21.2-79257
Browse files Browse the repository at this point in the history
release-21.2: roachtest: fix typeorm permission issues
  • Loading branch information
rafiss authored Apr 6, 2022
2 parents f9f6309 + 1a3546d commit eafda96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cmd/roachtest/tests/typeorm.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func registerTypeORM(r registry.Registry) {
c,
node,
"add nodesource repository",
`sudo apt install ca-certificates && curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -`,
`sudo apt install ca-certificates && curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -`,
); err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -152,14 +152,14 @@ func registerTypeORM(r registry.Registry) {
c,
node,
"building TypeORM",
`cd /mnt/data1/typeorm/ && sudo npm install --unsafe-perm=true --allow-root`,
`cd /mnt/data1/typeorm/ && npm install`,
); err != nil {
t.Fatal(err)
}

t.Status("running TypeORM test suite - approx 12 mins")
rawResults, err := c.RunWithBuffer(ctx, t.L(), node,
`cd /mnt/data1/typeorm/ && sudo npm test --unsafe-perm=true --allow-root`,
`cd /mnt/data1/typeorm/ && npm test`,
)
rawResultsStr := string(rawResults)
t.L().Printf("Test Results: %s", rawResultsStr)
Expand Down

0 comments on commit eafda96

Please sign in to comment.