1 |
efrain |
1 |
@core @core_cache
|
|
|
2 |
Feature: Display cache information in performance info
|
|
|
3 |
In order to investigate performance problems with caching
|
|
|
4 |
As an administrator
|
|
|
5 |
I need to be able to see cache information in perfinfo
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following config values are set as admin:
|
|
|
9 |
| perfdebug | 15 |
|
|
|
10 |
And the following "courses" exist:
|
|
|
11 |
| fullname | shortname |
|
|
|
12 |
| Course 1 | C1 |
|
|
|
13 |
|
|
|
14 |
Scenario: Cache performance info displays
|
|
|
15 |
When I am on the "C1" "Course" page logged in as "admin"
|
|
|
16 |
# Confirm that the first cache info table is visible by checking an arbitrary row.
|
|
|
17 |
Then I should see "default_application" in the "core/databasemeta" "table_row"
|
|
|
18 |
# Don't specify the exact size as it may vary.
|
|
|
19 |
And I should see "KB" in the "core/databasemeta" "table_row"
|
|
|
20 |
# Confirm that the second cache info table is visible.
|
|
|
21 |
And I should see "default_application" in the "cachestore_file" "table_row"
|