Skip to content

Commit

Permalink
set limit
Browse files Browse the repository at this point in the history
  • Loading branch information
lpereiracgn committed Sep 3, 2024
1 parent beb19bd commit 21594aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CogniteSdk/test/fsharp/Alpha/SimulatorRuns.fs
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ let ``Retrieve simulation runs with cursor is Ok`` () =
task {

// Arrange
let listQuery: SimulationRunQuery = SimulationRunQuery()
let listQuery: SimulationRunQuery = SimulationRunQuery(Limit = 1)

let! listRes = writeClient.Alpha.Simulators.ListSimulationRunsAsync(listQuery)
let! (listRes: IItemsWithCursor<SimulationRun>) = writeClient.Alpha.Simulators.ListSimulationRunsAsync(listQuery)

test <@ Seq.length listRes.Items > 0 @>
test <@ isNull listRes.NextCursor |> not @>
Expand Down

0 comments on commit 21594aa

Please sign in to comment.