diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index dc312f06a0..dca728b89b 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -53,11 +53,11 @@ jobs: android: true dotnet: true haskell: true - large-packages: false - docker-images: false + large-packages: true + docker-images: true swap-storage: false - # To free up disk space to not run out during the run + # To free up disk space to not run out during the run - name: Delete unused SDKs MacOS if: matrix.name == 'mac-os' run: | @@ -75,6 +75,14 @@ jobs: without-cache: ${{ inputs.without-cache }} cache-s3-bucket: ${{ vars.CACHE_S3_BUCKET }} + - name: Check how much space is left after go setup + if: matrix.name == 'linux' + shell: bash + run: | + echo "AFTER GO SETUP:" + df -h / + df -a / + - name: Set TEST_KBC_PROJECTS_FILE entries uses: ./.github/actions/export-kbc-projects with: @@ -87,6 +95,14 @@ jobs: docker compose run -d --rm --publish 2379:2379 etcd sudo echo "127.0.0.1 etcd" | sudo tee -a /etc/hosts + - name: Check how much space is left after etcd setup + if: matrix.name == 'linux' + shell: bash + run: | + echo "AFTER ETCD SETUP:" + df -h / + df -a / + - name: Run tests shell: bash run: | @@ -128,3 +144,11 @@ jobs: TEST_KBC_PROJECTS_FILE: '${{ github.workspace }}/${{ vars.TEST_KBC_PROJECTS_FILE }}' UNIT_ETCD_ENABLED: ${{ matrix.name == 'linux' && 'true' || 'false' }} + - name: Check how much space is left after unit test + if: matrix.name == 'linux' + shell: bash + run: | + echo "AFTER UNIT TEST:" + df -h / + df -a / + diff --git a/internal/pkg/service/stream/storage/level/local/diskwriter/network/rpc/client.go b/internal/pkg/service/stream/storage/level/local/diskwriter/network/rpc/client.go index 508d1adc93..03cb34d921 100644 --- a/internal/pkg/service/stream/storage/level/local/diskwriter/network/rpc/client.go +++ b/internal/pkg/service/stream/storage/level/local/diskwriter/network/rpc/client.go @@ -5,7 +5,6 @@ import ( "io" "net" - "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/connectivity" @@ -86,12 +85,6 @@ func OpenNetworkFile(ctx context.Context, logger log.Logger, telemetry telemetry grpc.WithContextDialer(dialer), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(serviceConfig), - grpc.WithStatsHandler( - otelgrpc.NewClientHandler( - otelgrpc.WithMeterProvider(telemetry.MeterProvider()), - otelgrpc.WithTracerProvider(telemetry.TracerProvider()), - ), - ), ) if err != nil { return nil, err diff --git a/scripts/tests.sh b/scripts/tests.sh index e7abca2c58..b91f71fd79 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -36,7 +36,7 @@ fi # Run tests, sequentially because the API is shared resource echo "Running tests ..." export KBC_VERSION_CHECK=false # do not check the latest version in the tests -cmd="gotestsum --no-color=false --format \"$TEST_LOG_FORMAT\" -- -timeout 1200s -p $TEST_PARALLELISM_PKG -parallel $TEST_PARALLELISM $TEST_ARGS "$TEST_PACKAGE" $@" +cmd="gotestsum --no-color=false --format \"$TEST_LOG_FORMAT\" -- -timeout 1800s -p $TEST_PARALLELISM_PKG -parallel $TEST_PARALLELISM $TEST_ARGS "$TEST_PACKAGE" $@" echo $cmd eval $cmd echo "Ok. All tests passed." diff --git a/test/stream/bridge/keboola/keboola_test.go b/test/stream/bridge/keboola/keboola_test.go index 731fcf9672..231ba0013a 100644 --- a/test/stream/bridge/keboola/keboola_test.go +++ b/test/stream/bridge/keboola/keboola_test.go @@ -24,8 +24,7 @@ import ( "github.com/keboola/keboola-as-code/internal/pkg/service/stream/storage/model" ) -// To see details run: TEST_VERBOSE=true go test ./test/stream/bridge/... -v - +// To see details run: TEST_VERBOSE=true go test ./test/stream/bridge/... -v. func TestKeboolaBridgeWorkflow(t *testing.T) { t.Parallel()