Fix some tests (#3100)
* Sleep for one millisecond in the handler because the `Latency` will return `0s` sometimes and the test will fail * The `TCPListener.File` is not supported by windows, it is unimplemented now * Remove the `LF` in the `testdata/template/raw.tmpl`, because if set the git config `core.autocrlf=true`, will append `CR` to the raw.tmpl automatically, then test is failed on Windows
This commit is contained in:
2
testdata/template/raw.tmpl
vendored
2
testdata/template/raw.tmpl
vendored
@ -1 +1 @@
|
||||
Date: {[{.now | formatAsDate}]}
|
||||
Date: {[{.now | formatAsDate}]}
|
Reference in New Issue
Block a user