-
Notifications
You must be signed in to change notification settings - Fork 12
Multi-chain cleanup #695
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
base: develop
Are you sure you want to change the base?
Multi-chain cleanup #695
Changes from 13 commits
7b6df71
65eea71
333d272
b38155e
ecfb860
f1ca9e0
998382e
660ca79
be39c17
c1a6d08
5a2d030
ff73e98
35295d0
efa12b7
f8eed0a
f883b20
91d8986
d98d907
6a99957
c3e5738
4eb2df7
ebc929e
f426251
d2899b6
69cef92
dbc95b2
02ebe40
809552a
fdfc233
05c509d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,8 +46,6 @@ func TestInternalServerErrors(t *testing.T) { | |
| log.NewLogger(log.WithHandler(logger)), | ||
| ) | ||
|
|
||
| time.Sleep(5 * time.Second) | ||
|
|
||
| // Add an endpoint that just panics with "foobar" and start the server | ||
| exceptionText := "foobar" | ||
| e.GET("/test", func(c echo.Context) error { panic(exceptionText) }) | ||
|
|
@@ -57,6 +55,8 @@ func TestInternalServerErrors(t *testing.T) { | |
| }() | ||
| defer e.Shutdown(context.Background()) | ||
|
|
||
| time.Sleep(5 * time.Second) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should fix sporadic issues in this test
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess the system back online this part, but should be good to add it but smaller number too
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I just moved this line, but sure it makes sense to also decrease the time. Will do |
||
|
|
||
| // query the endpoint | ||
| req, err := http.NewRequest(http.MethodGet, "http://localhost:9999/test", http.NoBody) | ||
| require.NoError(t, err) | ||
|
|
||
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.
Notice
config.jsonstructure has changed in this place. We would need to update all configs upon deployment.