Skip to content

Tests fail because cache paths returned #180

@k1o0

Description

@k1o0

The dat_test and AlyxPanel_test files contain tests that must dynamically change the current paths. The paths are changed by saving to a paths.mat file that a call to dat.paths will retrieve via loadVar.

The problem is that loadVar saves a cache of these files with the name and modified date compound key. The modified datetime has second precision so on fast computers the paths.mat file is modified and loadVar called in under a second, leading to the cached file being retrieved.

Solution may be to add clearCBToolsCache to the teardown routines.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions