Merge pull request #1184 from mmichal10/test-standby-neg-cache-id
Test standby neg cache
This commit is contained in:
@@ -49,7 +49,11 @@ class Cache:
|
||||
return self.get_statistics().usage_stats.occupancy
|
||||
|
||||
def get_status(self):
|
||||
status = self.get_statistics().config_stats.status.replace(' ', '_').lower()
|
||||
status = (
|
||||
self.get_statistics(stat_filter=[StatsFilter.conf])
|
||||
.config_stats.status.replace(" ", "_")
|
||||
.lower()
|
||||
)
|
||||
return CacheStatus[status]
|
||||
|
||||
@property
|
||||
|
@@ -117,6 +117,8 @@ class CacheStatus(Enum):
|
||||
initializing = "initializing"
|
||||
flushing = "flushing"
|
||||
incomplete = "incomplete"
|
||||
standby = "standby"
|
||||
standby_detached = "standby detached"
|
||||
|
||||
def __str__(self):
|
||||
return self.value
|
||||
|
@@ -145,6 +145,10 @@ mutually_exclusive_params_load = [
|
||||
r"forbidden."
|
||||
]
|
||||
|
||||
activate_with_different_cache_id = [
|
||||
r"Cache id specified by user and loaded from metadata are different"
|
||||
]
|
||||
|
||||
|
||||
def check_stderr_msg(output: Output, expected_messages):
|
||||
return __check_string_msg(output.stderr, expected_messages)
|
||||
|
Reference in New Issue
Block a user