RedHatQE / teflo

Teflo is a standalone orchestration software that controls the flow of a set of testing scenarios, allowing users to provision machines, deploy software, execute tests against them and manage generated artifacts and report results.
https://teflo.readthedocs.io/en/latest/
GNU General Public License v3.0
14 stars 16 forks source link

CCITCARBON-372 WIP make scenario graph size a static attribute #166

Closed shay6 closed 2 years ago

shay6 commented 2 years ago

I added the unit tests @JunqiZhang0 ignore the fail in GitHub action. sdf1.yml children are equal to 5 and not 3. It happens because, in the current code, it counts only the direct children.

Example:

    ->sdf0.yml
        ->sdf1.yml
            ->sdf3.yml
            ->sdf8.yml
                ->sdf12.yml
                ->sdf13.yml
            ->sdf5.yml
        ->sdf7.yml
            ->sdf10.yml
            ->sdf11.yml
        ->sdf2.yml
            ->sdf4.yml
            ->sdf9.yml
            ->sdf6.yml