Skip to content

Commit

Permalink
skipping db test
Browse files Browse the repository at this point in the history
  • Loading branch information
ghanithan committed Oct 21, 2024
1 parent bb4d2fe commit ec190ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -v ./...
run: go test -short -v ./...
5 changes: 4 additions & 1 deletion database/cb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import (
)

func TestInitCouchbaseDb(t *testing.T) {
config, err := config.GetConfig("../settings/sample.yaml")
if testing.Short() {
t.Skip("skipping test in short mode.")
}
config, err := config.GetConfig("../settings/default.yaml")
if err != nil {
t.Fatalf("Error in reading config: %s", err)
}
Expand Down

0 comments on commit ec190ad

Please sign in to comment.