open-consul/agent/consul/state
Daniel Nephin e8a883e829
Replace goe/verify.Values with testify/require.Equal (#7993)
* testing: replace most goe/verify.Values with require.Equal

One difference between these two comparisons is that go/verify considers
nil slices/maps to be equal to empty slices/maps, where as testify/require
does not, and does not appear to provide any way to enable that behaviour.

Because of this difference some expected values were changed from empty
slices to nil slices, and some calls to verify.Values were left.

* Remove github.com/pascaldekloe/goe/verify

Reduce the number of assertion packages we use from 2 to 1
2020-06-02 12:41:25 -04:00
..
acl.go Catalog + Namespace OSS changes. (#7219) 2020-02-10 10:40:44 -05:00
acl_oss.go AuthMethod updates to support alternate namespace logins (#7029) 2020-01-14 10:09:29 -05:00
acl_test.go AuthMethod updates to support alternate namespace logins (#7029) 2020-01-14 10:09:29 -05:00
autopilot.go fix ignored errors in state store internals as reported by errcheck 2019-03-01 14:18:00 -06:00
autopilot_test.go Replace goe/verify.Values with testify/require.Equal (#7993) 2020-06-02 12:41:25 -04:00
catalog.go Update agent/consul/state/catalog.go 2020-05-20 16:34:14 -04:00
catalog_oss.go Terminating gateway discovery (#7571) 2020-04-08 12:37:24 -06:00
catalog_test.go Replace goe/verify.Values with testify/require.Equal (#7993) 2020-06-02 12:41:25 -04:00
config_entry.go Restoring config entries updates the gateway-services table (#7811) 2020-05-08 13:24:33 -05:00
config_entry_oss.go Restoring config entries updates the gateway-services table (#7811) 2020-05-08 13:24:33 -05:00
config_entry_test.go Restoring config entries updates the gateway-services table (#7811) 2020-05-08 13:24:33 -05:00
connect_ca.go connect: derive connect certificate serial numbers from a memdb index instead of the provider table max index (#7011) 2020-01-09 16:32:19 +01:00
connect_ca_test.go Replace goe/verify.Values with testify/require.Equal (#7993) 2020-06-02 12:41:25 -04:00
coordinate.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
coordinate_test.go Replace goe/verify.Values with testify/require.Equal (#7993) 2020-06-02 12:41:25 -04:00
delay.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
delay_test.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
federation_state.go wan federation via mesh gateways (#6884) 2020-03-09 15:59:02 -05:00
graveyard.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
graveyard_oss.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
graveyard_test.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
index_connect.go Add Proxy Upstreams to Service Definition (#4639) 2018-10-10 16:55:34 +01:00
index_connect_test.go Add Proxy Upstreams to Service Definition (#4639) 2018-10-10 16:55:34 +01:00
index_service_kind.go Implement Mesh Gateways 2019-07-01 16:28:30 -04:00
intention.go Intentions ACL enforcement updates (#7028) 2020-01-13 15:51:40 -05:00
intention_test.go fix typos reported by golangci-lint:misspell (#5434) 2019-03-06 11:13:28 -06:00
kvs.go Preserve ModifyIndex for unchanged entry in KVS TXN (#7832) 2020-05-14 13:25:04 -06:00
kvs_oss.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
kvs_test.go OSS KV Modifications to Support Namespaces 2019-11-25 12:57:35 -05:00
operations_oss.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
prepared_query.go OSS Modifications necessary for sessions namespacing 2019-11-25 12:07:04 -05:00
prepared_query_index.go
prepared_query_index_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
prepared_query_test.go OSS Modifications necessary for sessions namespacing 2019-11-25 12:07:04 -05:00
schema.go Creates a registration mechanism for schemas. 2017-11-29 18:36:52 -08:00
schema_test.go
session.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
session_oss.go Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
session_test.go Remove outdated TODO (#7244) 2020-02-07 13:14:48 -07:00
state_store.go agent: increase watchLimit to 8192. (#7200) 2020-02-04 13:11:30 +01:00
state_store_oss_test.go Updates to Config Entries and Connect for Namespaces (#7116) 2020-01-24 10:04:58 -05:00
state_store_test.go Ingress Gateways for TCP services (#7509) 2020-04-16 14:00:48 -07:00
tombstone_gc.go Sheds monotonic time info so tombstone GC bins work properly. 2017-11-29 10:34:24 -08:00
tombstone_gc_test.go Sheds monotonic time info so tombstone GC bins work properly. 2017-11-29 10:34:24 -08:00
txn.go state: use an error to indicate compare failed 2020-05-20 12:43:33 -04:00
txn_test.go Replace goe/verify.Values with testify/require.Equal (#7993) 2020-06-02 12:41:25 -04:00