Project

General

Profile

Actions

Feature #17283

closed

In thread executor for testing inside transactions

Added by Ivan Necas about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

In foreman, we heavily depend on db transactions in our test suite, which makes it next to impossible to do continuous transition of some actions to async mode. The plan is to provide an inthread executor for testing, that would perform the task execution in the same thread as the test is running, so that everything runs in the same transaction at the end.


Related issues 1 (0 open1 closed)

Blocks Foreman - Feature #15779: Make report, puppet classes and environments importing asynchronous using foreman-tasksClosedMarek Hulán07/22/2016Actions
Actions

Also available in: Atom PDF