Add pushover notifications, this should be a super basic MVP

This commit is contained in:
Tony Blyler 2021-05-18 09:04:15 -04:00
parent ed13a5994f
commit d9917ab8b0
Signed by: tblyler
GPG key ID: 7F13D9A60C0D678E
505 changed files with 195741 additions and 9 deletions

46
vendor/github.com/dgraph-io/badger/test.sh generated vendored Normal file
View file

@ -0,0 +1,46 @@
#!/bin/bash
set -e
go version
packages=$(go list ./... | grep github.com/dgraph-io/badger/)
if [[ ! -z "$TEAMCITY_VERSION" ]]; then
export GOFLAGS="-json"
fi
# Ensure that we can compile the binary.
pushd badger
go build -v .
popd
# Run the memory intensive tests first.
go test -v -run='TestBigKeyValuePairs$' --manual=true
go test -v -run='TestPushValueLogLimit' --manual=true
# Run the special Truncate test.
rm -rf p
go test -v -run='TestTruncateVlogNoClose$' --manual=true
truncate --size=4096 p/000000.vlog
go test -v -run='TestTruncateVlogNoClose2$' --manual=true
go test -v -run='TestTruncateVlogNoClose3$' --manual=true
rm -rf p
# Then the normal tests.
echo
echo "==> Starting test for table, skl and y package"
go test -v -race github.com/dgraph-io/badger/skl
# Run test for all package except the top level package. The top level package support the
# `vlog_mmap` flag which rest of the packages don't support.
go test -v -race $packages
echo
echo "==> Starting tests with value log mmapped..."
# Run top level package tests with mmap flag.
go test -v -race github.com/dgraph-io/badger --vlog_mmap=true
echo
echo "==> Starting tests with value log not mmapped..."
go test -v -race github.com/dgraph-io/badger --vlog_mmap=false