Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Feb 12, 2024
1 parent 09efdc0 commit 650d5d0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/measurexlite/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ func TestNewTLSHandshakerStdlib(t *testing.T) {

t.Run("tls_handshake_start", func(t *testing.T) {
expect := &model.ArchivalNetworkEvent{
Address: "",
Address: "1.1.1.1:443",
Failure: nil,
NumBytes: 0,
Operation: "tls_handshake_start",
Proto: "",
Proto: "tcp",
T: 0,
Tags: []string{"antani"},
}
Expand All @@ -159,11 +159,11 @@ func TestNewTLSHandshakerStdlib(t *testing.T) {

t.Run("tls_handshake_done", func(t *testing.T) {
expect := &model.ArchivalNetworkEvent{
Address: "",
Address: "1.1.1.1:443",
Failure: nil,
NumBytes: 0,
Operation: "tls_handshake_done",
Proto: "",
Proto: "tcp",
T0: time.Second.Seconds(),
T: time.Second.Seconds(),
Tags: []string{"antani"},
Expand Down Expand Up @@ -308,11 +308,11 @@ func TestNewTLSHandshakerStdlib(t *testing.T) {

t.Run("tls_handshake_start", func(t *testing.T) {
expect := &model.ArchivalNetworkEvent{
Address: "",
Address: server.Endpoint(),
Failure: nil,
NumBytes: 0,
Operation: "tls_handshake_start",
Proto: "",
Proto: "tcp",
T: 0,
Tags: []string{},
}
Expand All @@ -324,11 +324,11 @@ func TestNewTLSHandshakerStdlib(t *testing.T) {

t.Run("tls_handshake_done", func(t *testing.T) {
expect := &model.ArchivalNetworkEvent{
Address: "",
Address: server.Endpoint(),
Failure: nil,
NumBytes: 0,
Operation: "tls_handshake_done",
Proto: "",
Proto: "tcp",
T0: time.Second.Seconds(),
T: time.Second.Seconds(),
Tags: []string{},
Expand Down

0 comments on commit 650d5d0

Please sign in to comment.