Skip to content

Accessor methods should not change machine state #1048

Open

Description

@alameenshah

Enlistment.GetNewLogFileName(logsRoot) method checks whether the logsRoot exists and if not tries to create it.

This causes un-desired side effects when logsRoot is a Mock path and cause UT of classes (like ProductUpgrader) which uses this method to fail.

Activity

  1. added this to the Backlog milestone on Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects: testspr: refactoring

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions