buildstream-migration / bst-staging

GNU Lesser General Public License v2.1
0 stars 0 forks source link

Some tests fail on systems without microsecond resolution #1063

Open Cynical-Optimist opened 4 years ago

Cynical-Optimist commented 4 years ago

See original issue on GitLab In GitLab by [Gitlab user @willsalmon] on Jul 4, 2019, 10:25

Summary

Test def test_never_delete_required(cli, datafiles): in tests/artifactcache/expiry.py

Fails on systems with a mtime resolution of 1second

This should not be the case and is probably exposing a underlying bug.

Steps to reproduce

Run the test suit on a file system with 1sec mtimes

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @cs-shadow] on Aug 4, 2020, 23:47

changed title from {-Buildstream is missing that too big a stacks should not be built-} to {+Some tests fail on systems without microsecond resolution+}

Cynical-Optimist commented 4 years ago

In GitLab by [Gitlab user @cs-shadow] on Aug 4, 2020, 23:49

I have reworded the title to make it clear that it is about some tests failing on systems wihtout microsecond resolution.

I must say I am a bit onfused about what "too big a stack" was referring to. So, please correct me in case I'm missing something.