Skip to content

Commit

Permalink
roachtest: fix permissions in typeorm testt
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
rafiss committed Apr 6, 2022
1 parent 76fd7ab commit 1a3546d
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 1a3546d

Please sign in to comment.