Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase test coverage #12

Merged
merged 42 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8d64cfe
increase test-coverage
jdogmcsteezy Sep 12, 2024
5d9b3bc
add feature key file
jdogmcsteezy Sep 12, 2024
548218c
remove generated code from coverage
jdogmcsteezy Sep 12, 2024
c984d8c
more tests
jdogmcsteezy Sep 13, 2024
5bc2a36
more tests
jdogmcsteezy Sep 16, 2024
6156272
cleanup client
jdogmcsteezy Sep 16, 2024
d071716
rename channel to connection
jdogmcsteezy Sep 16, 2024
08464a1
add client unit tests with mocks
jdogmcsteezy Sep 17, 2024
69f5094
make unit run first
jdogmcsteezy Sep 17, 2024
0f8bc19
more tests
jdogmcsteezy Sep 17, 2024
c4d72e9
more tests
jdogmcsteezy Sep 17, 2024
6ca315f
more tests
jdogmcsteezy Sep 17, 2024
1a137cc
more tests
jdogmcsteezy Sep 17, 2024
3f5711f
more tests
jdogmcsteezy Sep 18, 2024
f659151
more tests
jdogmcsteezy Sep 18, 2024
4184ad6
add more tests
jdogmcsteezy Sep 18, 2024
d0ba6c4
add more tests
jdogmcsteezy Sep 18, 2024
befc3a5
add more tests
jdogmcsteezy Sep 19, 2024
7cb8408
fix unit tests, make tokenManager interface
jdogmcsteezy Sep 19, 2024
05973cb
add more tests
jdogmcsteezy Sep 19, 2024
dbeed1c
fix tests
jdogmcsteezy Sep 20, 2024
05c3c26
fix tests
jdogmcsteezy Sep 20, 2024
460ce11
fix tests
jdogmcsteezy Sep 20, 2024
12d951f
again
jdogmcsteezy Sep 20, 2024
b8051cf
more tests
jdogmcsteezy Sep 20, 2024
f8e2b89
more tests
jdogmcsteezy Sep 20, 2024
8959927
add sort
jdogmcsteezy Sep 20, 2024
ea25445
add tests
jdogmcsteezy Sep 23, 2024
bf79f62
add tests
jdogmcsteezy Sep 23, 2024
bbaaa12
add tests
jdogmcsteezy Sep 23, 2024
9138013
fix tests
jdogmcsteezy Sep 23, 2024
e52ab47
more tests
jdogmcsteezy Sep 23, 2024
e6f975f
fix linter
jdogmcsteezy Sep 24, 2024
4f35554
review changes
jdogmcsteezy Sep 26, 2024
1a5d80f
fix tests
jdogmcsteezy Sep 26, 2024
43e8bb9
fix linter
jdogmcsteezy Sep 26, 2024
d4d536a
fix lint
jdogmcsteezy Sep 26, 2024
cfa92d1
review changes
jdogmcsteezy Sep 26, 2024
afec4ab
fix lint
jdogmcsteezy Sep 27, 2024
6dc0ad6
fix tests, combine factory methods
jdogmcsteezy Sep 27, 2024
4a7c3a9
fix lint
jdogmcsteezy Sep 27, 2024
28bcc99
rm comments
jdogmcsteezy Sep 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Setup Mocks
run: |
make mocks
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:

run: |
echo "$FEATURES_CONF" > docker/multi-node/config/features.conf
echo "$FEATURES_CONF" > docker/vanilla/config/features.conf
echo "$FEATURES_CONF" > docker/tls/config/features.conf
echo "$FEATURES_CONF" > docker/mtls/config/features.conf
echo "$FEATURES_CONF" > docker/auth/config/features.conf
Expand Down
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ issues:
- path: '(.+)test\.go'
linters:
- govet # Test code field alignment for sake of space is not a concern
- path: 'token_manager_test.go'
linters:
- goconst # Test code is allowed to have constants
- path: 'connection_provider_test.go'
linters:
- goconst
# - path: dir/sample\.go
# linters:
# - lll # Test code is allowed to have long lines
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![codecov](https://codecov.io/gh/aerospike/avs-client-go/graph/badge.svg?token=811TWWPW6S)](https://codecov.io/gh/aerospike/avs-client-go)

# Aerospike Vector Search Go Client

> :warning: The go client is currently in development. APIs will break in the future!
Expand Down
Loading
Loading