2018-06-19 14:25:56 +00:00
|
|
|
@setupApplicationTest
|
2018-07-04 12:41:44 +00:00
|
|
|
Feature: dc / nodes / sessions / list: List Lock Sessions
|
2018-06-19 14:25:56 +00:00
|
|
|
In order to get information regarding lock sessions
|
|
|
|
As a user
|
|
|
|
I should be able to see a listing of lock sessions with necessary information under the lock sessions tab for a node
|
|
|
|
Scenario: Given 2 session with string TTLs
|
|
|
|
Given 1 datacenter model with the value "dc1"
|
|
|
|
And 1 node model from yaml
|
|
|
|
---
|
2018-09-12 19:23:39 +00:00
|
|
|
ID: node-0
|
2018-06-19 14:25:56 +00:00
|
|
|
---
|
|
|
|
And 2 session models from yaml
|
|
|
|
---
|
|
|
|
- TTL: 30s
|
|
|
|
- TTL: 60m
|
|
|
|
---
|
|
|
|
When I visit the node page for yaml
|
|
|
|
---
|
|
|
|
dc: dc1
|
|
|
|
node: node-0
|
|
|
|
---
|
|
|
|
And I click lockSessions on the tabs
|
|
|
|
Then I see lockSessionsIsSelected on the tabs
|
|
|
|
Then I see TTL on the sessions like yaml
|
|
|
|
---
|
|
|
|
- 30s
|
|
|
|
- 60m
|
|
|
|
---
|
2020-08-20 14:29:16 +00:00
|
|
|
Scenario: Given 2 session with LockDelay in milliseconds
|
|
|
|
Given 1 datacenter model with the value "dc1"
|
|
|
|
And 1 node model from yaml
|
|
|
|
---
|
|
|
|
ID: node-0
|
|
|
|
---
|
|
|
|
And 2 session models from yaml
|
|
|
|
---
|
|
|
|
- LockDelay: 120000
|
|
|
|
- LockDelay: 18000000
|
|
|
|
---
|
|
|
|
When I visit the node page for yaml
|
|
|
|
---
|
|
|
|
dc: dc1
|
|
|
|
node: node-0
|
|
|
|
---
|
|
|
|
And I click lockSessions on the tabs
|
|
|
|
Then I see lockSessionsIsSelected on the tabs
|
|
|
|
Then I see delay on the sessions like yaml
|
|
|
|
---
|
|
|
|
- 2m
|
|
|
|
- 5h
|
|
|
|
---
|