I ran go test and got a timeout error:
go test
*** Test killed with quit: ran too long (10m0s). FAIL call/httptest 600.050s
How to extend the waiting time and make it more than 10 minutes?
Use go test -timeout <duration> , for example:
go test -timeout <duration>
$ go test -timeout 20m
From documents :
Allowed time units: ns, us, m,
Source: https://habr.com/ru/post/980521/More articles:React.js "Invariant violation: findComponentRoot" - reactjsHow to crop an image in php with the given coordinates X, Y, Width and Height - phpExclude models or properties from swagger - restamqp.node will not detect connection failure - node.jsCode for real word creation apps using Cordova, Ionic-Framework - cordovaWindows Phone 8.1 XAML application. How to prevent incorrect auto focus change? - c #What are mv, fd, aq, vq, sq and f in a video stream? - ffmpegAdding a gerrit Group as a Reviewer - gerritAngularJs ng-repeat orderBy not working for nested object properties - javascriptD3.js - How to add a new line to the text in this summary tree? - svgAll Articles