Feature: Root worker to run privileged operations.

Test results for features/workers/root_worker.feature

Running behat features/workers/root_worker.feature results in:

@rugged @workers @root-worker
Feature: Root worker to run privileged operations.
  In order to securely run privileged operations on a TUF repo
  As an administrator
  I need to dispatch tasks to a 'root' worker.

  Background:
    Given I reset Rugged

  Scenario: Send a basic ping/echo message.
    When I run the Rugged command "rugged echo --worker=root-worker --timeout=1"
    Then I should get:
      """
      Sending root-worker Ping!...
      Done. Response was: root-worker PONG: Ping!
      """

  Scenario: Retrieve worker logs.
    Given I run the Rugged command "rugged echo --worker=root-worker --timeout=1"
    When I run the Rugged command "rugged logs --worker=root-worker --limit=0"
    Then I should get:
      """
      root-worker received echo task: Ping!
      """

2 scenarios (2 passed)
7 steps (7 passed)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Rugged TUF Server is a trademark of Consensus Enterprises.