VictoriaMetrics/vendor
hagen1778 790eab3026
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>
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-11-07 13:25:01 +01:00
..
cloud.google.com/go vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
github.com tests: integration tests for vmsingle (#7434) 2024-11-07 13:25:01 +01:00
go.opencensus.io vendor: make vendor-update 2022-11-05 10:40:30 +02:00
go.opentelemetry.io vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
go.uber.org vendor: run make vendor-update 2023-10-31 20:20:07 +01:00
golang.org/x app/vlogscli: add interactive command-line tool for querying VictoriaLogs 2024-10-01 12:24:53 +02:00
google.golang.org vendor: run make vendor-update 2024-09-26 22:33:13 +02:00
gopkg.in vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
k8s.io vendor: run make vendor-update 2024-09-08 21:05:23 +02:00
modules.txt tests: integration tests for vmsingle (#7434) 2024-11-07 13:25:01 +01:00