Skip to content

Commit

Permalink
fix: adapting tests for defining ActorSystemImplementation
Browse files Browse the repository at this point in the history
  • Loading branch information
dromeroac committed Aug 8, 2022
1 parent d095b80 commit 00c3b5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import pytest

import pymongo
from powerapi.supervisor import SIMPLE_SYSTEM_IMP

from smartwatts.__main__ import run_smartwatts
from smartwatts.test_utils.reports import smartwatts_timeline_with_mperf_0, smartwatts_timeline
Expand Down Expand Up @@ -70,6 +71,7 @@ def check_db():
def test_normal_behaviour(mongo_database, shutdown_system):
config = {'verbose': 0,
'stream': False,
'actor_system': SIMPLE_SYSTEM_IMP,
'input': {'puller_mongodb': {'type': 'mongodb',
'model': 'HWPCReport',
'uri': MONGO_URI,
Expand Down
3 changes: 3 additions & 0 deletions tests/acceptation/test_normal_behaviour.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import pytest

import pymongo
from powerapi.supervisor import SIMPLE_SYSTEM_IMP

from smartwatts.__main__ import run_smartwatts
from smartwatts.test_utils.reports import smartwatts_timeline
Expand Down Expand Up @@ -88,6 +89,7 @@ def mongodb_content(smartwatts_timeline):
def test_normal_behaviour(mongo_database, shutdown_system):
config = {'verbose': True,
'stream': False,
'actor_system': SIMPLE_SYSTEM_IMP,
'input': {'puller_mongodb': {'type': 'mongodb',
'model': 'HWPCReport',
'uri': MONGO_URI,
Expand Down Expand Up @@ -124,6 +126,7 @@ def test_normal_behaviour(mongo_database, shutdown_system):
def test_normal_behaviour_real_time(mongo_database, shutdown_system):
config = {'verbose': True,
'stream': False,
'actor_system': SIMPLE_SYSTEM_IMP,
'input': {'puller_mongodb': {'type': 'mongodb',
'model': 'HWPCReport',
'uri': MONGO_URI,
Expand Down

0 comments on commit 00c3b5f

Please sign in to comment.