What argument am I missing? The number of args sent and received appear to be the same. Both of these methods are inside a class. The wait_for_evictions_timeout is also found in stack so it’s not like it is missing
Error:
self = <test_l3_read_only.TestL3ReadOnly object at 0x3778fe4c1110>
l3_test_dir = '/ifs/data/l3_regression_20240418_170159', load_type = 'agefs'
agefs_protdirs = 'no'
log_dir = '/usr/local/qa/log/QA_test_results/BR_SGR_P167063/B_SGR_P167063_007-RELEASE/l3_regression.list.ON.L3-HTV/TM_20240418_16_49_39'
evictions_target = 1, wait_for_evictions_timeout = 1800
num_ros_with_evictions = 1
def test_l3_read_only(
self,
l3_test_dir: str,
load_type: str,
agefs_protdirs: str,
log_dir: str,
evictions_target: int,
wait_for_evictions_timeout: int,
num_ros_with_evictions: int,
) -> None:
"""Test L3 read only behavior"""
count = 1
while count <= num_ros_with_evictions:
> self.l3_read_only(
l3_test_dir,
load_type,
agefs_protdirs,
log_dir,
evictions_target,
wait_for_evictions_timeout,
)
E TypeError: l3_read_only() missing 1 required positional argument: 'wait_for_evictions_timeout'
l3_read_only fxn:
def l3_read_only(
self,
l3_test_dir: str,
load_type: str,
agefs_protdirs: str,
log_dir: str,
evictions_target: int,
wait_for_evictions_timeout: int,
) -> None:
"""Generate load, check for eviction, and check states after"""
New contributor
Sagar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.