-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add toxiproxy stream test #2175
base: main
Are you sure you want to change the base?
Conversation
be1bb48
to
8ca2718
Compare
@@ -151,6 +151,7 @@ func (c *ClientConnection) Close(ctx context.Context) error { | |||
|
|||
func (c *ClientConnection) dialLoop(ctx context.Context, initDone chan error) { | |||
b := newClientConnBackoff() | |||
b.InitialInterval = 100 * time.Millisecond |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to toxiproxy we have now higher latency and this often failed locally.
|
||
ts := setup(t) | ||
client := toxiproxyClient.NewClient("localhost:8474") | ||
proxy, err := client.CreateProxy("source1", ts.sourceURL1[7:len(ts.sourceURL1)-1], ts.sourceURL1[7:]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the source url is localhost:12345
i want to create new proxy on host:port localhost:1234
.
It can be adjusted to randomized port
8ca2718
to
aad00b2
Compare
The ETCD connection cannot be established
aad00b2
to
86b6f90
Compare
func TestKeboolaBridgeWorkflow(t *testing.T) { | ||
t.Parallel() | ||
|
||
func TestKeboolaBridgeWorkflow(t *testing.T) { // nolint: paralleltest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why no parallel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is issue in etcd connection when being in parallel. Looks like we have some issue in the test suite. I will create subsequent tasks to dig into the issue. Simply adding parallel will make the test fail in CI for sure. The result locally varies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jira: PSGO-108
Changes:
We still receive error with no space left on device in tagged GH action workflows