VictoriaMetrics/vendor/github.com
Artem Fetishev 7c60d82215
tests: integration tests for vmsingle (#7434)
### 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>
2024-11-07 12:58:37 +01:00
..
alecthomas/units vendor: run make vendor-update 2023-12-11 10:48:36 +02:00
aws vendor: run make vendor-update 2024-09-26 22:33:05 +02:00
Azure/azure-sdk-for-go/sdk vendor: run make vendor-update 2024-09-26 22:33:05 +02:00
AzureAD/microsoft-authentication-library-for-go vendor: run make vendor-update 2024-02-24 03:22:39 +02:00
bboreham/go-loser vendor: run make vendor-update 2024-02-24 03:22:39 +02:00
beorn7/perks
bmatcuk/doublestar/v4 vendor: run make vendor-update 2023-10-31 20:19:51 +01:00
cespare/xxhash/v2 vendor: run make vendor-update 2024-04-11 09:46:22 +02:00
cheggaaa/pb/v3 vendor: run make vendor-update 2024-01-26 22:56:37 +01:00
cpuguy83/go-md2man/v2 vendor: run make vendor-update 2024-09-26 22:33:05 +02:00
davecgh/go-spew vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
dennwc/varint vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
ergochat/readline app/vlogscli: add interactive command-line tool for querying VictoriaLogs 2024-10-01 12:23:07 +02:00
fatih/color vendor: run make vendor-update 2024-05-22 21:58:38 +02:00
felixge/httpsnoop vendor: run make vendor-update 2023-11-13 18:50:16 +01:00
go-kit/log vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
go-logfmt/logfmt vendor: make vendor-update 2023-01-31 11:03:20 -08:00
go-logr vendor: run make vendor-update 2024-05-22 21:58:38 +02:00
gogo/protobuf vendor: run make vendor-update 2023-09-07 13:01:39 +02:00
golang vendor: run make vendor-update 2024-07-27 13:52:48 +02:00
golang-jwt/jwt/v5 vendor: run make vendor-update 2024-03-06 21:24:42 +02:00
google tests: integration tests for vmsingle (#7434) 2024-11-07 12:58:37 +01:00
googleapis vendor: run make vendor-update 2024-07-27 13:52:48 +02:00
grafana/regexp vendor: run make vendor-update 2024-05-22 21:58:38 +02:00
influxdata/influxdb vendor: run make vendor-update 2024-01-16 16:57:30 +02:00
jmespath/go-jmespath go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:27:02 +02:00
jpillora/backoff vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
json-iterator/go vendor: run make vendor-update 2023-09-07 13:01:39 +02:00
klauspost/compress vendor: run make vendor-update 2024-09-26 22:33:05 +02:00
kylelemons/godebug vendor: run make vendor-update 2023-07-07 00:04:32 -07:00
mattn vendor: run make vendor-update 2024-07-27 13:52:48 +02:00
modern-go vendor: run make vendor-update 2023-09-07 13:01:39 +02:00
munnerz/goautoneg vendor: run make vendor-update 2024-07-03 00:00:09 +02:00
mwitkow/go-conntrack vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
oklog/ulid
pkg/browser vendor: run make vendor-update 2024-02-24 03:22:39 +02:00
pmezard/go-difflib vmctl: support of the remote read protocol (#3232) 2022-11-29 22:53:28 +01:00
prometheus vendor: run make vendor-update 2024-09-26 22:33:05 +02:00
rivo/uniseg vendor: run make vendor-update 2024-02-12 22:31:30 +02:00
russross/blackfriday/v2 go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:27:02 +02:00
stretchr/testify vendor: run make vendor-update 2024-03-06 21:24:42 +02:00
urfave/cli/v2 vendor: run make vendor-update 2024-07-27 13:52:48 +02:00
valyala app/vlinsert: adds journald ingestion support 2024-10-27 20:36:33 +01:00
VictoriaMetrics app/vmselect/promql: properly calculate c1 and c2 and c1 or c2 by upgrading github.com/VictoriaMetrics/metricsql to v0.79.0 2024-09-18 17:38:19 +02:00
VividCortex/ewma go.mod: update minimum Go version from Go 1.16 to Go 1.17 2021-12-22 12:27:02 +02:00
xrash/smetrics vendor: run make vendor-update 2024-01-16 16:57:30 +02:00