1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

Move archive-stop and expire tests to the mock module.

These are mock integration tests so they should be grouped with the other mock integration tests.
This commit is contained in:
David Steele 2018-04-08 12:57:02 -04:00
parent 3b661f4ad5
commit 3bcf637aee
13 changed files with 24 additions and 32 deletions

View File

@ -103,6 +103,10 @@
<p>Move help/version integration tests to <id>mock/all</id>. Help and version are covered by unit tests, so we really just to need to make sure there is output when called from the command line.</p>
</release-item>
<release-item>
<p>Move <id>archive-stop</id> and <id>expire</id> tests to the <id>mock</id> module. These are mock integration tests so they should be grouped with the other mock integration tests.</p>
</release-item>
<release-item>
<p>Include VM type in <id>gcov</id> path to avoid conflicts between VMs with different architectures.</p>
</release-item>

View File

@ -547,13 +547,6 @@ module:
coverage:
command/archive/push/push: full
# ----------------------------------------------------------------------------------------------------------------------------
- name: stop
total: 7
container: false
individual: true
expect: true
# ----------------------------------------------------------------------------------------------------------------------------
- name: info-unit
total: 4
@ -588,39 +581,26 @@ module:
coverage:
Backup/Info: partial
# ********************************************************************************************************************************
- name: expire
individual: true
expect: true
coverage:
Expire: partial
test:
# ----------------------------------------------------------------------------------------------------------------------------
- name: expire
total: 4
# ********************************************************************************************************************************
- name: manifest
container: true
test:
# ----------------------------------------------------------------------------------------------------------------------------
- name: all
total: 9
container: true
coverage:
Manifest: partial
# ********************************************************************************************************************************
- name: stanza
container: true
test:
# ----------------------------------------------------------------------------------------------------------------------------
- name: all
total: 9
container: true
coverage:
Stanza: full
@ -631,28 +611,36 @@ module:
expect: true
test:
# ----------------------------------------------------------------------------------------------------------------------------
- name: stanza
total: 3
# ----------------------------------------------------------------------------------------------------------------------------
- name: expire
total: 4
# ----------------------------------------------------------------------------------------------------------------------------
- name: archive
total: 3
# ----------------------------------------------------------------------------------------------------------------------------
- name: archive-stop
total: 7
# ----------------------------------------------------------------------------------------------------------------------------
- name: all
total: 3
# ----------------------------------------------------------------------------------------------------------------------------
- name: stanza
total: 3
# ********************************************************************************************************************************
- name: real
individual: true
expect: true
db: true
test:
# ----------------------------------------------------------------------------------------------------------------------------
- name: all
total: 6
individual: true
db: true
# ********************************************************************************************************************************
- name: performance

View File

@ -1,7 +1,7 @@
####################################################################################################################################
# ArchiveStopTest.pm - Tests for archive-push command to make sure aync queue limits are implemented correctly
# Tests for archive-push command to make sure aync queue limits are implemented correctly
####################################################################################################################################
package pgBackRestTest::Module::Archive::ArchiveStopTest;
package pgBackRestTest::Module::Mock::MockArchiveStopTest;
use parent 'pgBackRestTest::Env::HostEnvTest';
####################################################################################################################################

View File

@ -1,7 +1,7 @@
####################################################################################################################################
# ExpireExpireTest.pm - Tests for expire command
# Tests for expire command
####################################################################################################################################
package pgBackRestTest::Module::Expire::ExpireExpireTest;
package pgBackRestTest::Module::Mock::MockExpireTest;
use parent 'pgBackRestTest::Env::HostEnvTest';
####################################################################################################################################