DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
We can use follow tests to cover the change:
local retention time | local retention size | lag time | lag size | Expect result |
* | * | - |
0
0
-1
-1
1 day
1 GB
3 day
-1
0
0
-1
-1
1 day
1 GB
-1
3 GB
0
0
-1
-1
1 day
1 GB
3 day
3 GB
0
0
-1
-1
lag: 3 day + 3 GB
1 day
1 GB
2 (default value) | * | No lag time check but check lag size if need | ||
* | * | 0 | * | No any delay check. |
-1 | * | * | * | Invalid configure |
* | * | * | -2 (default value) | No lag size check but check lag time if need |
* | * | * | 0 | No any delay check. |
* | -1 | * | -1 | Invalid configure |
3 day | -1 | 1 day | -2 (default value) | lag: 1 day |
-1 | 3 GB | -2 (default value) | 1 GB | lag: 1 GB |
3 day | 3 GB | 1 day | 1 GB | lag: 1 day or 1 GB |
Unit Tests:
- Test upload eligibility logic with different configure values
- Test configuration validation for topic
...