Skip to content

Commit e2f2582

Browse files
committed
Do not assert on client PIDs now that we consider process labels
1 parent 486f752 commit e2f2582

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

integration_test/ownership/owner_test.exs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ defmodule OwnerTest do
4545
end)
4646

4747
assert log =~ ~r"owner #PID<\d+\.\d+\.\d+> exited"
48-
49-
assert log =~
50-
~r"Client #PID<\d+\.\d+\.\d+> is still using a connection from owner at location"
51-
48+
assert log =~ ~r"is still using a connection from owner at location"
5249
assert log =~ ~r"The connection itself was checked out by #PID<\d+\.\d+\.\d+> at location"
5350

5451
assert [
@@ -94,7 +91,7 @@ defmodule OwnerTest do
9491
assert_receive {:done, ^pid}
9592
end)
9693
end) =~
97-
~r"owner #PID<\d+\.\d+\.\d+> timed out because it owned the connection for longer than 100ms"
94+
~r"timed out because it owned the connection for longer than 100ms"
9895

9996
assert [
10097
{:connect, _},
@@ -133,7 +130,7 @@ defmodule OwnerTest do
133130
end,
134131
timeout: 0
135132
)
136-
end) =~ ~r"client #PID<\d+\.\d+\.\d+> timed out"
133+
end) =~ ~r"timed out"
137134

138135
assert [
139136
{:connect, _},

0 commit comments

Comments
 (0)