Added valid target objectives to the session create/edit form
This commit is contained in:
@@ -254,7 +254,7 @@ class PostgresParserTests(BaseParserTests, TestCase):
|
||||
super().test_convert_dbms_metrics()
|
||||
|
||||
target_obj = target_objectives.THROUGHPUT
|
||||
target_obj_instance = target_objectives.get_target_objective_instance(
|
||||
target_obj_instance = target_objectives.get_instance(
|
||||
self.test_dbms.dbms_id, target_obj)
|
||||
txns_counter = target_obj_instance.transactions_counter
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ class SessionViewsTests(TestCase):
|
||||
'name': 'test_create_basic_session',
|
||||
'description': 'testing create basic session...',
|
||||
'tuning_session': 'no_tuning_session',
|
||||
'target_objective': target_objectives.get_default_target_objective(),
|
||||
'target_objective': target_objectives.default(),
|
||||
'algorithm': 1,
|
||||
'cpu': '2',
|
||||
'memory': '16',
|
||||
|
||||
Reference in New Issue
Block a user