-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Environment
- k6 version: k6 version above v0.21.1
Expected Behavior
The hierarchical group information at the end of a test should be ordered in some way.
Actual Behavior
As this user in the community forum complained, and I've confirmed, the information for the hierarchical groups k6 emits at the end of the test run doesn't seem sorted in any way.
Testing old k6 version, this seems to have worked in k6 up to version v0.21.1, which ordered groups alphabetically, and way broken by k6 v0.22.0...
Steps to Reproduce the Problem
Run the following script multiple times:
import { group, check } from "k6";
function test(i) { group(`test ${i}`, () => { subTest(i); }); }
function subTest(i) { group(`subtest ${i}`, () => { check(1, { "check": () => true == true }) }); }
export default function () { for (let i = 1; i <= 10; i++) { test(i); } }
jeevananthank