Project

General

Profile

Actions

action #1741

closed

Test failures when using MySQL

Added by ancorgs about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Development
Target version:
Start date:
2014-02-26
Due date:
% Done:

100%

Estimated time:
4.00 h

Description

Karthik have reported that some specs related with audits fail when using MySQL. With PostgreSQL and SQLite everything looks to work fine.

Actions #1

Updated by ancorgs almost 10 years ago

If I add a debugger but I do absolutely nothing but "continue", it works. Looks like some threading-transanction-whatever problem. Something related to timing in any case.

Actions #2

Updated by ancorgs almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Some tests were failing because created_at have a precision of "only" one second in MySQL. The tests run faster than that. Other tests were having issues related with threads and database transactions.

Everything is fixed in https://github.com/openSUSE/travel-support-program/commit/c07b2dbd686157fb1bdd02bcd0413deed6cc3781

Actions

Also available in: Atom PDF