loadtest: shutdown all agents properly

Description

When trying to stop a load test of 10k of more users, it always happens that the coordinator exits, but there are still agents making requests.

We need to look at the shutdown code properly and ensure that all controllers exit properly before a load test is destroyed.

A force hack might be to restart the agent altogether from the test runner, if nothing else works. That's what I have been doing manually by modifying the code.

QA Test Steps

No testing required.

Mana

3

Assignee

Agniva De Sarker

QA Assignee

None

Reporter

Agniva De Sarker

Epic Link

Fix versions

None

Mattermost Team

Platform

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None
Configure