Class TestDatabaseSystemTimeReader
java.lang.Object
com.atlassian.jira.functest.framework.BaseJiraFuncTest
com.atlassian.jira.webtests.ztests.database.TestDatabaseSystemTimeReader
Functional tests for reading database system time.
- Since:
- 6.3
-
Field Summary
Fields inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Can't make too many guarantees as to what different databases will return for the system time - it is not necessarily number of millis since epoch.Methods inherited from class com.atlassian.jira.functest.framework.BaseJiraFuncTest
getAssertions, getBackdoor, getEnvironmentData, getTester
-
Constructor Details
-
TestDatabaseSystemTimeReader
public TestDatabaseSystemTimeReader()
-
-
Method Details
-
testThatDatabaseSystemTimeIncreasesOverTime
Can't make too many guarantees as to what different databases will return for the system time - it is not necessarily number of millis since epoch. But it should increase over time unless there are problems. The test makes two calls to read the database system time with one second delay between them and ensures that the system time is increasing.- Throws:
Exception
- if an error occurs.
-