rapid-cdn: fix failing test
logrotate test for the rapid-cdn SR have been failing for quite some time because of a squid.log file created (and henceforth rotated) on any slave instance of the CDN: ``` Traceback (most recent call last): self.assertEqual( AssertionError: Items in the second set but not the first: 'squid.log_10.0.160.212.20240306.23h57m09s-20240307.00h00m02s.old.xz' ``` Since we do not want to test this file in that specific test, this commit instead loosely check the content of the rotated files directory. In other words, the test now checks for the presence of the two files to be tested, but avoid failing if other files exist. This goes in line with the two following lines of that same test, loosely checking for file absence instead of an empty directory. /cc @tomo @luke /approved-by @luke /reviewed-on !1541
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#655729
external
|
Cloudooo.UnitTest-Master |
00:10:17
|
||||||
passed |
#655741
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster |
01:24:18
|
||||||
passed |
#655786
external
|
ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master |
08:42:21
|
||||||
passed |
#655771
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:13:38
|
||||||
passed |
#655748
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:19:45
|
||||||
passed |
#655764
external
|
SlapOS.Eggs.UnitTest-Master.Python3Next |
00:14:01
|
||||||
failed |
#655731
external
|
SlapOS.SoftwareReleases.IntegrationTest-Master |
07:07:41
|
||||||
failed |
#655732
external
|
SlapOS.Theia.ResilienceTest-Master-ERP5 |
06:00:58
|
||||||
passed |
#655782
external
|
Wendelin.StandaloneDeploymentScriptTest-Debian.Buster |
08:48:37
|
||||||