SREF phases taken into account when checking the maximum time without refresh

This commit is contained in:
Felipe S. Prado
2018-11-26 13:38:47 +01:00
parent 3a51b695e8
commit 33192eb579

View File

@@ -512,11 +512,12 @@ def max_number_ref_burst(connection):
return TestSuceeded()
@test
@test
def max_time_without_ref(connection):
"""Checks that the maximum time allowed between REFA commands"""
"""Checks that the maximum time allowed between REFA/SREF commands is not exceeded"""
cursor = connection.cursor()
query = """SELECT PhaseBegin, PhaseEnd FROM phases WHERE PhaseName = 'REFA' """
query = """SELECT PhaseBegin, PhaseEnd FROM phases WHERE PhaseName = 'REFA' OR PhaseName = 'SREF' """
prevrow = [0] * 2
flexibleRef = getFlexibleRef(connection)
maxRefBurst = getMaxRefBurst(connection)