Skip to content

[Bug]: Endless loop in PR build in not tests in a Test Codeunit. #1827

Open
@tscottjendev

Description

@tscottjendev

AL-Go version

How do I find it?

Describe the issue

If you create a Codeunit of Subtype = Test; and have no [Test] decorated procedures in the codeunit the test process just seems to loop repeatedly.

See attached log file of PR build that failed with this condition.

Admittedly this is an edge case but no condition should cause the process to loop endlessly. It burned 6 hours of compute time under this condition.

Expected behavior

Admittedly this is an edge case but no condition should cause the process to loop endlessly. It burned 6 hours of compute time under this condition.

Steps to reproduce

Create an AL-GO project
Create a branch
Create a Test Codeunit,
do NOT add any Test procedures
submit a Pull Request for the branch

Additional context (logs, screenshots, etc.)

logs_41813517224.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions