Bug #6592

Fix races between background snapshot saving and check for upgrades

Added by intrigeri 2014-01-11 10:51:04 . Updated 2014-03-19 07:34:27 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2014-01-11
Due date:
% Done:

100%

Feature Branch:
bugfix/6592-fix-races-with-check-for-upgrades
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

When running the automated test suite against 0.22.1~rc1, I’ve noticed that some scenarios sometimes fail, apparently due to the background snapshot having been made at a wrong time, resulting in the Tails Upgrader “Cannot check for upgrades” dialog that our test suite does not expect.

The likely fix would be to wait for the check for upgrades to have completed, before saving the background snapshot.


Subtasks


Related issues

Blocked by Tails - Feature #6593: Provide synchronization point once upgrades have been checked Resolved 2014-01-11

History

#1 Updated by intrigeri 2014-02-21 17:25:28

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10
  • Feature Branch set to feature/6508-incremental-upgrades-phase-four

Done in Git, not tested yet.

#2 Updated by intrigeri 2014-03-01 14:44:00

  • Feature Branch changed from feature/6508-incremental-upgrades-phase-four to bugfix/6592-fix-races-with-check-for-upgrades

#3 Updated by intrigeri 2014-03-04 18:06:22

  • Assignee changed from intrigeri to anonym
  • % Done changed from 10 to 50
  • QA Check set to Ready for QA

Tested, works fine for me.

#4 Updated by anonym 2014-03-05 00:18:25

  • Status changed from In Progress to Fix committed
  • Assignee deleted (anonym)
  • % Done changed from 50 to 100
  • QA Check changed from Ready for QA to Pass

Merged!

#5 Updated by anonym 2014-03-19 07:34:27

  • Status changed from Fix committed to Resolved