mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
7c60d82215
### Describe Your Changes This PR continues the implementation of integration tests (#7199). It adds the support for vm-single: - A vmsingle app wrapper has been added - Sample vmsingle tests that test the VM documentation related to querying data (#7435) - The tests use the go-cmp/{cmp,/cmpopts} packages, therefore they have been added to ./vendor - Minor refactoring: data objects have been moved to model.go Advice on porting things to cluster branch: - The build rule must include tests that start with TestVmsingle (similarly to how TestCluster tests are skipped in master branch) - The build rule must depend on `vmstorage vminsert vmselect` instead of `victoria-metrics` - The query_test.go can actually be implemented for cluster as well. To do this the tests need to be renamed to start with TestCluster and the tests must instantiace vm{storage,insert,select} instead of vmsingle. ### Checklist The following checks are **mandatory**: - [x] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). --------- Signed-off-by: Artem Fetishev <rtm@victoriametrics.com> Signed-off-by: hagen1778 <roman@victoriametrics.com> Co-authored-by: hagen1778 <roman@victoriametrics.com> |
||
---|---|---|
.. | ||
alecthomas/units | ||
aws | ||
Azure/azure-sdk-for-go/sdk | ||
AzureAD/microsoft-authentication-library-for-go | ||
bboreham/go-loser | ||
beorn7/perks | ||
bmatcuk/doublestar/v4 | ||
cespare/xxhash/v2 | ||
cheggaaa/pb/v3 | ||
cpuguy83/go-md2man/v2 | ||
davecgh/go-spew | ||
dennwc/varint | ||
ergochat/readline | ||
fatih/color | ||
felixge/httpsnoop | ||
go-kit/log | ||
go-logfmt/logfmt | ||
go-logr | ||
gogo/protobuf | ||
golang | ||
golang-jwt/jwt/v5 | ||
googleapis | ||
grafana/regexp | ||
influxdata/influxdb | ||
jmespath/go-jmespath | ||
jpillora/backoff | ||
json-iterator/go | ||
klauspost/compress | ||
kylelemons/godebug | ||
mattn | ||
modern-go | ||
munnerz/goautoneg | ||
mwitkow/go-conntrack | ||
oklog/ulid | ||
pkg/browser | ||
pmezard/go-difflib | ||
prometheus | ||
rivo/uniseg | ||
russross/blackfriday/v2 | ||
stretchr/testify | ||
urfave/cli/v2 | ||
valyala | ||
VictoriaMetrics | ||
VividCortex/ewma | ||
xrash/smetrics |