From f1751ef2f9aed1ecab4359069ac7616ea3ca5f57 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Tue, 14 May 2024 23:41:53 +0200 Subject: [PATCH] additional test Signed-off-by: Tim Vaillancourt --- go/vt/discovery/topology_watcher_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/go/vt/discovery/topology_watcher_test.go b/go/vt/discovery/topology_watcher_test.go index afa44f185b4..1fcc0d3306b 100644 --- a/go/vt/discovery/topology_watcher_test.go +++ b/go/vt/discovery/topology_watcher_test.go @@ -595,6 +595,11 @@ func TestNewFilterByTabletTags(t *testing.T) { assert.False(t, filter.IsIncluded(&topodatapb.Tablet{ Tags: map[string]string{}, })) + assert.True(t, filter.IsIncluded(&topodatapb.Tablet{ + Tags: map[string]string{ + "instance_type": "i3.xlarge", + }, + })) assert.True(t, filter.IsIncluded(&topodatapb.Tablet{ Tags: tags, }))