made the engine race tests generic and added the race tests for the concurrent map

This commit is contained in:
Alex Giurgiu
2023-11-14 13:10:40 +02:00
parent 46fd1d3f8f
commit 5d86013710
@@ -1,4 +1,4 @@
name: Enginetest Race
name: Race tests
on:
push:
@@ -8,8 +8,8 @@ on:
workflow_dispatch:
jobs:
enginerace:
name: Go tests - race enginetests
racetests:
name: Go race tests
defaults:
run:
shell: bash
@@ -26,9 +26,13 @@ jobs:
go-version: ^1.21
id: go
- uses: actions/checkout@v3
- name: Test All
- name: Test engine
working-directory: ./go
run: |
DOLT_SKIP_PREPARED_ENGINETESTS=1 go test -vet=off -v -race -timeout 30m github.com/dolthub/dolt/go/libraries/doltcore/sqle/enginetest
env:
DOLT_DEFAULT_BIN_FORMAT: ${{ matrix.dolt_fmt }}
- name: Test concurrentmap
working-directory: ./go
run: |
go test -vet=off -v -race -timeout 30m github.com/dolthub/dolt/go/libraries/utils/concurrentmap