Skip to content

Commit

Permalink
Upgrade CI server version to 24.2 (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
sitingren committed May 7, 2024
1 parent c1b1d8e commit 17f8e35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.21', '1.20', '1.19', '1.18', '1.17']
go-version: ['1.22', '1.21', '1.20', '1.19', '1.18']

steps:
- name: Check out repository
Expand All @@ -34,7 +34,7 @@ jobs:
run: |
docker run -d -p 5433:5433 -p 5444:5444 \
--name vertica_docker --network my-network \
vertica/vertica-ce:24.1.0-0
opentext/vertica-ce:24.2.0-1
echo "Vertica startup ..."
until docker exec vertica_docker test -f /data/vertica/VMart/agent_start.out; do \
echo "..."; \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vertica-sql-go is a native Go adapter for the Vertica (http://www.vertica.com) d

Please check out [release notes](https://github.com/vertica/vertica-sql-go/releases) to learn about the latest improvements.

vertica-sql-go has been tested with Vertica 24.1.0 and Go 1.17/1.18/1.19/1.20/1.21.
vertica-sql-go has been tested with Vertica 24.2.0 and Go 1.18/1.19/1.20/1.21/1.22.

## Installation

Expand Down Expand Up @@ -388,7 +388,7 @@ func main() {
}

// Query a standard metric table in Vertica.
rows, err := connDB.QueryContext(ctx, "SELECT * FROM v_monitor.cpu_usage LIMIT 5")
rows, err := connDB.QueryContext(ctx, "SELECT node_name, start_time, end_time, average_cpu_usage_percent FROM v_monitor.cpu_usage LIMIT 5")

if err != nil {
testLogger.Fatal(err.Error())
Expand Down
2 changes: 1 addition & 1 deletion driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func TestBasicQuery(t *testing.T) {
connDB := openConnection(t)
defer closeConnection(t, connDB)

rows, err := connDB.QueryContext(ctx, "SELECT * FROM v_monitor.cpu_usage LIMIT 5")
rows, err := connDB.QueryContext(ctx, "SELECT node_name, start_time, end_time, average_cpu_usage_percent FROM v_monitor.cpu_usage LIMIT 5")
assertNoErr(t, err)

defer rows.Close()
Expand Down

0 comments on commit 17f8e35

Please sign in to comment.