Skip to content

Conversation

@ilidemi
Copy link
Contributor

@ilidemi ilidemi commented Oct 29, 2025

Remove the need for passing environment variables when running e2e locally

  • PG->CH
  • MySQL->CH
  • Mongo->CH

@ilidemi ilidemi marked this pull request as draft October 29, 2025 04:05
@codecov
Copy link

codecov bot commented Oct 29, 2025

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
1306 3 1303 131
View the top 2 failed test(s) by shortest run time
github.com/PeerDB-io/peerdb/flow/e2e::TestApiPg/TestCreateCDCFlowAttachConcurrentRequestsToxi
Stack Traces | 0.04s run time
=== RUN   TestApiPg/TestCreateCDCFlowAttachConcurrentRequestsToxi
=== PAUSE TestApiPg/TestCreateCDCFlowAttachConcurrentRequestsToxi
=== CONT  TestApiPg/TestCreateCDCFlowAttachConcurrentRequestsToxi
    api_test.go:1466: 
        	Error Trace:	.../flow/e2e/api_test.go:1466
        	Error:      	Received unexpected error:
        	            	failed to create postgres connection: failed to create connection: failed to connect to `user=postgres database=postgres`:
        	            		127.0.0.1:9902 (localhost): tls error: EOF
        	            		[::1]:9902 (localhost): tls error: EOF
        	            		127.0.0.1:9902 (localhost): failed to receive message: unexpected EOF
        	            		[::1]:9902 (localhost): failed to receive message: unexpected EOF
        	Test:       	TestApiPg/TestCreateCDCFlowAttachConcurrentRequestsToxi
    api_test.go:44: begin tearing down postgres schema api_x6ahg4il
--- FAIL: TestApiPg/TestCreateCDCFlowAttachConcurrentRequestsToxi (0.04s)
github.com/PeerDB-io/peerdb/flow/e2e::TestApiPg/TestDropCompletedAndUnavailable
Stack Traces | 0.05s run time
=== RUN   TestApiPg/TestDropCompletedAndUnavailable
=== PAUSE TestApiPg/TestDropCompletedAndUnavailable
=== CONT  TestApiPg/TestDropCompletedAndUnavailable
2025/10/29 06:02:31 INFO Received AWS credentials from peer for connector: ci x-peerdb-additional-metadata={Operation:FLOW_OPERATION_UNKNOWN}
2025/10/29 06:02:31 INFO Received AWS credentials from peer for connector: clickhouse x-peerdb-additional-metadata={Operation:FLOW_OPERATION_UNKNOWN}
2025/10/29 06:02:31 ERROR Failed to create connection x-peerdb-additional-metadata={Operation:FLOW_OPERATION_UNKNOWN} error="failed to connect to `user=postgres database=postgres`:\n\t127.0.0.1:9903 (localhost): tls error: EOF\n\t[::1]:9903 (localhost): tls error: EOF\n\t127.0.0.1:9903 (localhost): failed to receive message: unexpected EOF\n\t[::1]:9903 (localhost): failed to receive message: unexpected EOF"
2025/10/29 06:02:31 ERROR failed to create connection x-peerdb-additional-metadata={Operation:FLOW_OPERATION_UNKNOWN} error="failed to connect to `user=postgres database=postgres`:\n\t127.0.0.1:9903 (localhost): tls error: EOF\n\t[::1]:9903 (localhost): tls error: EOF\n\t127.0.0.1:9903 (localhost): failed to receive message: unexpected EOF\n\t[::1]:9903 (localhost): failed to receive message: unexpected EOF"
    api_test.go:732: 
        	Error Trace:	.../flow/e2e/api_test.go:732
        	Error:      	Received unexpected error:
        	            	failed to create postgres connection: failed to create connection: failed to connect to `user=postgres database=postgres`:
        	            		127.0.0.1:9903 (localhost): tls error: EOF
        	            		[::1]:9903 (localhost): tls error: EOF
        	            		127.0.0.1:9903 (localhost): failed to receive message: unexpected EOF
        	            		[::1]:9903 (localhost): failed to receive message: unexpected EOF
        	Test:       	TestApiPg/TestDropCompletedAndUnavailable
    api_test.go:44: begin tearing down postgres schema api_pu9kxe53
--- FAIL: TestApiPg/TestDropCompletedAndUnavailable (0.05s)
View the full list of 1 ❄️ flaky test(s)
github.com/PeerDB-io/peerdb/flow/e2e::TestApiPg

Flake rate in main: 21.54% (Passed 102 times, Failed 28 times)

Stack Traces | 0s run time
=== RUN   TestApiPg
=== PAUSE TestApiPg
=== CONT  TestApiPg
--- FAIL: TestApiPg (0.00s)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants