| 1 | // Code generated by gen_tests.py and process_polyglot.py. |
| 2 | // Do not edit this file directly. |
| 3 | // The template for this file is located at: |
| 4 | // ../template.go.tpl |
| 5 | package reql_testsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ |
| 6 | |
| 7 | import ( |
| 8 | "testingscip-go gomod github.com/golang/go/src go1.14 testing/" |
| 9 | "timescip-go gomod github.com/golang/go/src go1.14 time/" |
| 10 | |
| 11 | "github.com/stretchr/testify/suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/" |
| 12 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ "gopkg.in/rethinkdb/rethinkdb-go.v6scip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/" |
| 13 | "gopkg.in/rethinkdb/rethinkdb-go.v6/internal/comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/" |
| 14 | ) |
| 15 | |
| 16 | // Tests timeouts. |
| 17 | func TestTimeoutSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TestTimeoutSuite().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) { |
| 18 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Runscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Run().(t, new(TimeoutSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#)) |
| 19 | } |
| 20 | |
| 21 | type TimeoutSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite# struct { |
| 22 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite. |
| 23 | |
| 24 | sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session. *rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session# |
| 25 | } |
| 26 | |
| 27 | func (suite *TimeoutSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#) SetupTestscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#SetupTest().() { |
| 28 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Setting up TimeoutSuite") |
| 29 | // Use imports to prevent errors |
| 30 | _ = timescip-go gomod github.com/golang/go/src go1.14 time/.Timescip-go gomod github.com/golang/go/src go1.14 time/Time#{} |
| 31 | _ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.AnythingIsFinescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/AnythingIsFine. |
| 32 | |
| 33 | session, err := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Connectscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Connect().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ConnectOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#{ |
| 34 | Addressscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#Address.: urlscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/url., |
| 35 | }) |
| 36 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err, "Error returned when connecting to server") |
| 37 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session. = session |
| 38 | |
| 39 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_timeout").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session.) |
| 40 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBCreatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBCreate().("db_timeout").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session.) |
| 41 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 42 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_timeout").Waitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Wait().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session.) |
| 43 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 44 | |
| 45 | } |
| 46 | |
| 47 | func (suite *TimeoutSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#) TearDownSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#TearDownSuite().() { |
| 48 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Tearing down TimeoutSuite") |
| 49 | |
| 50 | if suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session. != nil { |
| 51 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("rethinkdb").Tablescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Table().("_debug_scratch").Deletescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Delete().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session.) |
| 52 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_timeout").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session.) |
| 53 | |
| 54 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session..Closescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session#Close().() |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (suite *TimeoutSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#) TestCasesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#TestCases().() { |
| 59 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Running TimeoutSuite: Tests timeouts.") |
| 60 | |
| 61 | { |
| 62 | // r.JS default timeout is 5 sec |
| 63 | // timeout.yaml line #5 |
| 64 | /* err("ReqlQueryLogicError", "JavaScript query `while(true) {}` timed out after 5.000 seconds.", [0]) */ |
| 65 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "JavaScript query `while(true) {}` timed out after 5.000 seconds.") |
| 66 | /* r.js('while(true) {}') */ |
| 67 | |
| 68 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #5: r.JS('while(true) {}')") |
| 69 | |
| 70 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JS().("while(true) {}"), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 71 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 72 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 73 | }) |
| 74 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #5") |
| 75 | } |
| 76 | |
| 77 | { |
| 78 | // timeout.yaml line #8 |
| 79 | /* err("ReqlQueryLogicError", "JavaScript query `while(true) {}` timed out after 1.300 seconds.", [0]) */ |
| 80 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "JavaScript query `while(true) {}` timed out after 1.300 seconds.") |
| 81 | /* r.js('while(true) {}', timeout=1.3) */ |
| 82 | |
| 83 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #8: r.JS('while(true) {}').OptArgs(r.JSOpts{Timeout: 1.3, })") |
| 84 | |
| 85 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JS().("while(true) {}").OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#{Timeoutscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#Timeout.: 1.3}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 86 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 87 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 88 | }) |
| 89 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #8") |
| 90 | } |
| 91 | |
| 92 | { |
| 93 | // timeout.yaml line #13 |
| 94 | /* err("ReqlQueryLogicError", "JavaScript query `while(true) {}` timed out after 8.000 seconds.", [0]) */ |
| 95 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "JavaScript query `while(true) {}` timed out after 8.000 seconds.") |
| 96 | /* r.js('while(true) {}', timeout=8) */ |
| 97 | |
| 98 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #13: r.JS('while(true) {}').OptArgs(r.JSOpts{Timeout: 8, })") |
| 99 | |
| 100 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JS().("while(true) {}").OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#{Timeoutscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#Timeout.: 8}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 101 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 102 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 103 | }) |
| 104 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #13") |
| 105 | } |
| 106 | |
| 107 | { |
| 108 | // timeout.yaml line #18 |
| 109 | /* err("ReqlQueryLogicError", "JavaScript query `(function(x) { while(true) {} })` timed out after 5.000 seconds.", [0]) */ |
| 110 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "JavaScript query `(function(x) { while(true) {} })` timed out after 5.000 seconds.") |
| 111 | /* r.expr('foo').do(r.js('(function(x) { while(true) {} })')) */ |
| 112 | |
| 113 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #18: r.Expr('foo').Do(r.JS('(function(x) { while(true) {} })'))") |
| 114 | |
| 115 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Exprscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Expr().("foo").Doscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Do().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JS().("(function(x) { while(true) {} })")), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 116 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 117 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 118 | }) |
| 119 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #18") |
| 120 | } |
| 121 | |
| 122 | { |
| 123 | // timeout.yaml line #21 |
| 124 | /* err("ReqlQueryLogicError", "JavaScript query `(function(x) { while(true) {} })` timed out after 1.300 seconds.", [0]) */ |
| 125 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "JavaScript query `(function(x) { while(true) {} })` timed out after 1.300 seconds.") |
| 126 | /* r.expr('foo').do(r.js('(function(x) { while(true) {} })', timeout=1.3)) */ |
| 127 | |
| 128 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #21: r.Expr('foo').Do(r.JS('(function(x) { while(true) {} })').OptArgs(r.JSOpts{Timeout: 1.3, }))") |
| 129 | |
| 130 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Exprscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Expr().("foo").Doscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Do().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JS().("(function(x) { while(true) {} })").OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#{Timeoutscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#Timeout.: 1.3})), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 131 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 132 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 133 | }) |
| 134 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #21") |
| 135 | } |
| 136 | |
| 137 | { |
| 138 | // timeout.yaml line #26 |
| 139 | /* err("ReqlQueryLogicError", "JavaScript query `(function(x) { while(true) {} })` timed out after 8.000 seconds.", [0]) */ |
| 140 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "JavaScript query `(function(x) { while(true) {} })` timed out after 8.000 seconds.") |
| 141 | /* r.expr('foo').do(r.js('(function(x) { while(true) {} })', timeout=8)) */ |
| 142 | |
| 143 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #26: r.Expr('foo').Do(r.JS('(function(x) { while(true) {} })').OptArgs(r.JSOpts{Timeout: 8, }))") |
| 144 | |
| 145 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Exprscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Expr().("foo").Doscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Do().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JS().("(function(x) { while(true) {} })").OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.JSOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#{Timeoutscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/JSOpts#Timeout.: 8})), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 146 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 147 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 148 | }) |
| 149 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #26") |
| 150 | } |
| 151 | |
| 152 | { |
| 153 | // timeout.yaml line #32 |
| 154 | /* err("ReqlNonExistenceError", "Error in HTTP GET of `httpbin.org/delay/10`:" + " timed out after 0.800 seconds.", []) */ |
| 155 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlNonExistenceError", "Error in HTTP GET of `httpbin.org/delay/10`:"+" timed out after 0.800 seconds.") |
| 156 | /* r.http('httpbin.org/delay/10', timeout=0.8) */ |
| 157 | |
| 158 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #32: r.HTTP('httpbin.org/delay/10').OptArgs(r.HTTPOpts{Timeout: 0.8, })") |
| 159 | |
| 160 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.HTTPscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/HTTP().("httpbin.org/delay/10").OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.HTTPOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/HTTPOpts#{Timeoutscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/HTTPOpts#Timeout.: 0.8}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 161 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 162 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 163 | }) |
| 164 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #32") |
| 165 | } |
| 166 | |
| 167 | { |
| 168 | // timeout.yaml line #36 |
| 169 | /* err("ReqlNonExistenceError", "Error in HTTP PUT of `httpbin.org/delay/10`:" + " timed out after 0.000 seconds.", []) */ |
| 170 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlNonExistenceError", "Error in HTTP PUT of `httpbin.org/delay/10`:"+" timed out after 0.000 seconds.") |
| 171 | /* r.http('httpbin.org/delay/10', method='PUT', timeout=0.0) */ |
| 172 | |
| 173 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #36: r.HTTP('httpbin.org/delay/10').OptArgs(r.HTTPOpts{Method: 'PUT', Timeout: 0.0, })") |
| 174 | |
| 175 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.HTTPscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/HTTP().("httpbin.org/delay/10").OptArgsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#OptArgs().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.HTTPOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/HTTPOpts#{Methodscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/HTTPOpts#Method.: "PUT", Timeoutscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/HTTPOpts#Timeout.: 0.0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TimeoutSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 176 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 177 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 178 | }) |
| 179 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #36") |
| 180 | } |
| 181 | } |