UtilCacheTest/lru_eviction test failure
I'm on s390x
and, having worked around #724 (closed) and patched #725 (closed), i'm on to a new error, this time in lru_eviction
:
ok 31 /client/UtilCacheTest/lru_insertion
Bail out! geary:ERROR:test/9f86d08@@test-lib@sta/test-case.c:476:assert_string: code should not be reached
--- stderr ---
Expected: "a", was null
**
geary:ERROR:test/9f86d08@@test-lib@sta/test-case.c:476:assert_string: code should not be reached
-------
I'm not sure what to make of it, but if you have debugging suggestions that you want me to try, please let me know.
the code for this test is:
public void lru_eviction() throws GLib.Error {
const string A = "a";
const string B = "b";
const string C = "c";
Lru<string> test_article = new Lru<string>(2);
test_article.set_entry(A, A);
test_article.set_entry(B, B);
test_article.get_entry(A);
test_article.set_entry(C, C);
assert_string(C, test_article.get_entry(C));
assert_string(A, test_article.get_entry(A));
assert_true(test_article.get_entry(B) == null);
}
I'm assuming that the failure corresponds to:
assert_string(A, test_article.get_entry(A));
Edited by Michael Gratton