From 9d9c1fbd60cfd34608b731aa12a968d2f61a36d1 Mon Sep 17 00:00:00 2001 From: Arvind Bright Date: Tue, 7 May 2024 09:55:25 -0700 Subject: [PATCH] peer: remove change detector test (#7204) --- peer/peer_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/peer/peer_test.go b/peer/peer_test.go index 45240475eec..c763ff4a29b 100644 --- a/peer/peer_test.go +++ b/peer/peer_test.go @@ -93,11 +93,3 @@ func TestPeerStringer(t *testing.T) { }) } } - -func TestPeerStringerOnContext(t *testing.T) { - ctx := NewContext(context.Background(), &Peer{Addr: &addr{"1.2.3.4:1234"}, AuthInfo: testAuthInfo{credentials.CommonAuthInfo{SecurityLevel: credentials.PrivacyAndIntegrity}}}) - want := "context.Background.WithValue(type peer.peerKey, val Peer{Addr: '1.2.3.4:1234', LocalAddr: , AuthInfo: 'testAuthInfo-3'})" - if got := fmt.Sprintf("%v", ctx); got != want { - t.Fatalf("Unexpected stringer output, got: %q; want: %q", got, want) - } -}