Skip to content

Commit 49465b7

Browse files
committed
#302 Fix database url
1 parent 2a3eac3 commit 49465b7

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.github/workflows/go-test-linux.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ jobs:
4747
- name: Copy test database files
4848
run: mkdir -p /tmp/sqlite && cp testdata/sqlite/G2C.db /tmp/sqlite/G2C.db
4949

50-
- name: Print database URL
51-
run: echo ${SENZING_TOOLS_DATABASE_URL}
52-
5350
- name: Run go test
5451
run: go test -json -v -p 1 -coverprofile=./cover.out -covermode=atomic -coverpkg=./... ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
5552

makefiles/linux.mk

+1-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ setup-osarch-specific:
7979

8080
.PHONY: test-osarch-specific
8181
test-osarch-specific:
82-
$(info $(SENZING_TOOLS_DATABASE_URL))
83-
# @go test -json -v -p 1 ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
84-
@go test -json -v -p 1 ./...
82+
@go test -json -v -p 1 ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
8583

8684
# -----------------------------------------------------------------------------
8785
# Makefile targets supported only by this platform.

szdiagnosticserver/szdiagnosticserver_examples_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func ExampleSzDiagnosticServer_GetDatastoreInfo() {
3939
fmt.Println(err)
4040
}
4141
fmt.Println(response.GetResult())
42-
// Output: {"dataStores":[{"id":"CORE", "type":"sqlite3","location":"/tmp/sqlite/G2C.db"}]}
42+
// Output: {"dataStores":[{"id":"CORE", "type":"sqlite3","location":"nowhere"}]}
4343
}
4444

4545
func ExampleSzDiagnosticServer_GetFeature() {

0 commit comments

Comments
 (0)