• Filipe Brandenburger's avatar
    In summary_test, create a file outside the test volume too. · 351a70b6
    Filipe Brandenburger authored
    This is necessary to show any RootFs usage on systems where the backing
    filesystem of overlay2 is xfs.
    
    The current test only created directories (for mount points) in the
    upper layer of the overlay. Outside of the mount namespace, only the
    directories are visible. When running `du` on those, usually filesystems
    will show some usage, but not xfs, which shows a disk usage of 0 for
    directories.
    
    Fix this by creating a file in the root directory, outside the volumes,
    in order to trigger some disk usage that can be measured by `du`.
    
    Tested: make test-e2e-node REMOTE=true HOSTS=centos-e2e-node FOCUS="Summary API"
    351a70b6
Name
Last commit
Last update
..
conformance Loading commit data...
e2e Loading commit data...
e2e_node Loading commit data...
fixtures Loading commit data...
images Loading commit data...
integration Loading commit data...
kubemark Loading commit data...
list Loading commit data...
soak Loading commit data...
typecheck Loading commit data...
utils Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
test_owners.csv Loading commit data...
test_owners.json Loading commit data...