Skip to content

perf(core): Fixing ristretto cache to pass jepsen tests #1963

perf(core): Fixing ristretto cache to pass jepsen tests

perf(core): Fixing ristretto cache to pass jepsen tests #1963

name: ci-dgraph-integration2-tests
on:
pull_request:
paths:
- '**/*.go'
- '**/go.mod'
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- 'release/**'
jobs:
dgraph-integration2-tests:
if: github.event.pull_request.draft == false
runs-on: warp-ubuntu-latest-x64-4x
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Make Linux Build and Docker Image
run: make docker-image
- name: Clean Up Environment
run: |
#!/bin/bash
# clean cache
go clean -testcache
- name: Run Integration2 Tests
run: |
#!/bin/bash
# go env settings
export GOPATH=~/go
# move the binary
cp dgraph/dgraph ~/go/bin/dgraph
# run the tests
go test -v -timeout=30m -failfast -tags=integration2 ./...
# clean up docker containers after test execution
go clean -testcache
# sleep
sleep 5