Commit Graph

19 Commits

Author SHA1 Message Date
Zach Musgrave
bd0dc834b4 Better failure message for test failure 2023-03-30 11:51:07 -07:00
Aaron Son
d1bb4f6807 integration-tests/go-sql-server-driver: Add a test which fails when a non-chunk journal repo first switches to chunk journal and runs call dolt_gc. 2023-03-24 09:43:54 -07:00
Aaron Son
20aef1ab89 integration-tests/go-sql-server-driver: Add some cleanup for the tmpdirs created as part of running these tests. 2023-03-14 11:58:30 -07:00
Zach Musgrave
5f5dae3ccf Squash merge from zachmu/session-transaction to get rid of spurious test files 2022-12-21 13:12:31 -08:00
Maximilian Hoffman
08167dfd5d Redo import perf (#4689)
* import perf harness prog

* more test isolation

* rework common dep

* fix server driver

* delete old files, fix readme

* more readme fixes

* batching edits

* edits

* skip import tests by def

* GA starter

* rename

* fix arg name

* change input name again

* remove espaced character from input desc

* fix env definition

* fix env definition

* fix workflow_dispatch name

* CI test files

* remove os spec

* runs on

* different set variable

* defaults

* defaults

* remove local GMS

* edits

* run bench from go/ directory

* dropped def equals

* go run, not go build

* fix output command name

* configure dolt

* fix query file path

* fix query file path

* switch query and inputs

* fix format <<EOF

* reformat yaml

* debug output

* more debug output

* fix echo -> cat

* fix to json flag

* fix yaml spacing

* yaml spacing

* yaml spacing

* revert html spacing

* json format

* env var expansion

* echo not cat

* another json string printing error

* no echo

* log template

* no template string

* wrong parameter, template should be templateName

* remove console.log

* pass file, not string, to ses

* rely on preexisting template? email action interface

* fix yaml

* fix html print

* fix html header

* change ci script

* fix sql-server connection pass

* mysql no password, setup default db

* put password back

* missed port for default database

* expanded CI tests

* shorter test file

* extend ci tests

* change default query

* try to push to dolthub

* modify push to dolthub

* duplicate test names

* typo

* dolt-action version

* invalid param for dolt_action

* specify feature branch

* specify main branch dolt-action

* -b flag first

* dont need -q flag for batch EOF

* combine results and dolthub push

* missing curly brace

* no auth

* new creds

* new cred fun

* use the cred key

* try again

* log table

* move push out of batch

* more logging

* new vs old branch

* fix branch rule

* more test

* all tests

* smaller tests

* smaller tests

* double env: key

* fix yaml error

* more yaml errors

* more yaml errors

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* linting fixes, remove other import nightly

* linting

* go vet

* licenses

* fix compile errorrs

* warn don't panic on init()

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* no external package

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* unused dep

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* Revert perf scripts

* refactor to repo dispatch

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-11-10 12:56:43 -08:00
Aaron Son
57523a9323 go/libraries/doltcore/sqle/cluster: Add the ability to generate a keypair, serve a JWKS, and sign outbound RPCs with a JWT. 2022-11-02 09:54:09 -07:00
Aaron Son
cc82355269 integration-tests/go-sql-server-driver: Fix JSON test for LD_1. 2022-10-04 11:49:11 -07:00
Aaron Son
fa7db054ad integration-tests/go-sql-server-driver: Convert some more sql-server-cluster.bats tests. 2022-10-03 17:23:53 -07:00
Aaron Son
dd7b5b5bec integration-tests/go-sql-server-driver: Move over some more tests. 2022-10-03 16:37:24 -07:00
Aaron Son
72579d4972 integration-tests/go-sql-server-driver: Cleanup how we write files a bit. 2022-10-03 15:37:40 -07:00
Aaron Son
364024f7a2 integration-tests/go-sql-server-driver: Make a new connection pool per connection assertion, instead of trying to reuse them.
Simpler.

Much better structure for lots of tests which test things like connection
strings, users and passwords provided at connection time, etc.
2022-10-03 15:26:48 -07:00
Aaron Son
b3dc25fc57 integration-tests/go-sql-server-driver: Move some magic numbers/strings to constants. 2022-10-03 15:19:59 -07:00
Aaron Son
04947a44a0 integration-tests/go-sql-server-driver: Some cleanup to finalization and sql.Rows handling. 2022-10-03 15:14:37 -07:00
Aaron Son
153ea002e4 integration-tests/go-sql-server-driver: Start migrating over some simple tests from sql-server.bats. 2022-10-03 14:00:56 -07:00
Aaron Son
a2f1e06b75 integration-tests/go-sql-server-driver: Factor out test.Run. 2022-10-03 12:50:07 -07:00
Aaron Son
7ebc1bb45f integration-tests/go-sql-server-driver: Move Server definitions to TestRepo/MultiRepo, instead of a separate top-level field. 2022-10-03 12:04:35 -07:00
Aaron Son
87de2bb7d9 integration-tests/go-sql-server-driver: Add retry_attempts functionality, drop sleep_millis. Add some documentation. 2022-10-03 11:38:01 -07:00
Aaron Son
cf639c3585 integration-tests/go-sql-server-driver: Start converting some sql-server bats tests. 2022-10-03 10:01:47 -07:00
Aaron Son
1857806d2d integration-tests/go-sql-server-driver: Proof of concept a declarative approach to integration tests for sql-server interactions.
Converts bats/sql-server-config.bats to use a new approach.
2022-10-01 15:42:22 -07:00