@@ -35,7 +35,7 @@ func TestRunServer(t *testing.T) {
3535 t .Fatal ("buffer is nil" )
3636 }
3737
38- logger .Info ().Msg ("Incoming traffic" )
38+ logger .Info ().Msg ("Ingress traffic" )
3939 if buf , ok := params ["buffer" ].([]byte ); ok {
4040 assert .Equal (t , CreatePgStartupPacket (), buf )
4141 } else {
@@ -51,7 +51,7 @@ func TestRunServer(t *testing.T) {
5151 t .Fatal ("buffer is nil" )
5252 }
5353
54- logger .Info ().Msg ("Outgoing traffic" )
54+ logger .Info ().Msg ("Egress traffic" )
5555 if buf , ok := params ["buffer" ].([]byte ); ok {
5656 assert .Equal (
5757 t , CreatePostgreSQLPacket ('R' , []byte {0x0 , 0x0 , 0x0 , 0x3 }), buf )
@@ -71,7 +71,7 @@ func TestRunServer(t *testing.T) {
7171 pool .Put (client2 .ID , client2 )
7272
7373 // Create a proxy with a fixed buffer pool
74- proxy := NewProxy (pool , NewHookConfig () , false , false , & Client {
74+ proxy := NewProxy (pool , hooksConfig , false , false , & Client {
7575 Network : "tcp" ,
7676 Address : "localhost:5432" ,
7777 ReceiveBufferSize : DefaultBufferSize ,
0 commit comments