Skip to content

Commit 50a507f

Browse files
committed
#286 Fix test issues
1 parent 6814070 commit 50a507f

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push]
55
env:
66
LD_LIBRARY_PATH: /opt/senzing/g2/lib
77
SENZING_LOG_LEVEL: TRACE
8-
SENZING_TOOLS_DATABASE_URL: sqlite3://na:na@nowhere/tmp/sqlite/G2C.db
8+
SENZING_TOOLS_DATABASE_URL: sqlite3://na:na@/tmp/sqlite/G2C.db
99

1010
permissions:
1111
contents: read

.github/workflows/golangci-lint.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,29 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525

26+
- name: Install Senzing API
27+
uses: senzing-factory/github-action-install-senzing-api@v3
28+
with:
29+
senzingapi-runtime-version: staging-v4
30+
31+
- name: Copy Senzing headers
32+
run: |
33+
mkdir ./szconfig/gohelpers
34+
cp /opt/senzing/g2/sdk/c/*.h ./szconfig/
35+
cp /opt/senzing/g2/sdk/c/gohelpers/*.h ./szconfig/gohelpers
36+
mkdir ./szconfigmanager/gohelpers
37+
cp /opt/senzing/g2/sdk/c/*.h ./szconfigmanager/
38+
cp /opt/senzing/g2/sdk/c/gohelpers/*.h ./szconfigmanager/gohelpers
39+
mkdir ./szdiagnostic/gohelpers
40+
cp /opt/senzing/g2/sdk/c/*.h ./szdiagnostic/
41+
cp /opt/senzing/g2/sdk/c/gohelpers/*.h ./szdiagnostic/gohelpers
42+
mkdir ./szengine/gohelpers
43+
cp /opt/senzing/g2/sdk/c/*.h ./szengine/
44+
cp /opt/senzing/g2/sdk/c/gohelpers/*.h ./szengine/gohelpers
45+
mkdir ./szproduct/gohelpers
46+
cp /opt/senzing/g2/sdk/c/*.h ./szproduct/
47+
cp /opt/senzing/g2/sdk/c/gohelpers/*.h ./szproduct/gohelpers
48+
2649
- name: setup go
2750
uses: actions/setup-go@v5
2851
with:

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
### Changed in 0.7.3
1616

1717
- Update methods to Senzing 4.0.0-24162
18+
- From `GrpcServerImpl` to `BasicGrpcServer`
1819

1920
## [0.7.2] - 2024-05-08
2021

grpcserver/grpcserver_basic.go

-3
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ func (grpcServer *BasicGrpcServer) createGrpcObserver(ctx context.Context, parse
107107
// Add SzConfig service to gRPC server.
108108
func (grpcServer *BasicGrpcServer) enableSzConfig(ctx context.Context, serviceRegistrar grpc.ServiceRegistrar) {
109109
server := &szconfigserver.SzConfigServer{}
110-
111-
fmt.Printf("\n\n>>>>>>>>>>>>>>>>>>>>>>>>>> LogLevelName: %s\n\n", grpcServer.LogLevelName)
112-
113110
err := server.SetLogLevel(ctx, grpcServer.LogLevelName)
114111
if err != nil {
115112
panic(err)

testdata/senzing-license/g2.lic

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)