Issues with circular feeder strategy

Hi,
I am using a circular feeder strategy in my test and facing an issue.

Issue:
Only the first 1 or 2 values get picked up from the feeder array with 5 values and the test completed.

Trying to provide code details below.

Class Test {

val feederArray = Array(
Map(“key1” → “value1”, “key2” → “description1”),
Map(“key1” → “value2”, “key2” → “description2”),
Map(“key1” → “value3”, “key2” → “description3”),
Map(“key1” → “value4”, “key2” → “description4”),
Map(“key1” → “value5”, “key2” → “description5”)
).circular

val scn = scenario()
.repeat(5) {
feed(feederArray)
.exec(http("${key2}")
.get("${key1}"))

}

setUp(
scn.inject(rampUsers(uservalue) during(rampdurationseconds))
).protocols(httpConf.inferHtmlResources()).maxDuration(30 minutes)

I have tried to run it without the repeat block because per definition circular would go back to the first value in the feeder once it reaches the end. And since I’m running it for 30mins I thought repeat is not needed.
Works perfectly fine with random. Looked at a few examples online and it looks similar. Not really sure what is going wrong and why circular strategy is not working.

Any help with the issue will be greatly appreciated.

Thanks.

And since I’m running it for 30mins I thought repeat is not needed.

maxDuration(30 minutes)

This forces the tests to stop after 30 minutes, it doesn’t make it last 30 minutes.
What determines test duration are injection profile duration and scenario duration.