You've already forked pgbackrest
							
							
				mirror of
				https://github.com/pgbackrest/pgbackrest.git
				synced 2025-10-30 23:37:45 +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:
		| @@ -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> |                         <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> | ||||||
|  |  | ||||||
|  |                     <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> |                     <release-item> | ||||||
|                         <p>Include VM type in <id>gcov</id> path to avoid conflicts between VMs with different architectures.</p> |                         <p>Include VM type in <id>gcov</id> path to avoid conflicts between VMs with different architectures.</p> | ||||||
|                     </release-item> |                     </release-item> | ||||||
|   | |||||||
| @@ -547,13 +547,6 @@ module: | |||||||
|         coverage: |         coverage: | ||||||
|           command/archive/push/push: full |           command/archive/push/push: full | ||||||
|  |  | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |  | ||||||
|       - name: stop |  | ||||||
|         total: 7 |  | ||||||
|         container: false |  | ||||||
|         individual: true |  | ||||||
|         expect: true |  | ||||||
|  |  | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|       - name: info-unit |       - name: info-unit | ||||||
|         total: 4 |         total: 4 | ||||||
| @@ -588,39 +581,26 @@ module: | |||||||
|         coverage: |         coverage: | ||||||
|           Backup/Info: partial |           Backup/Info: partial | ||||||
|  |  | ||||||
|   # ******************************************************************************************************************************** |  | ||||||
|   - name: expire |  | ||||||
|     individual: true |  | ||||||
|     expect: true |  | ||||||
|  |  | ||||||
|     coverage: |  | ||||||
|       Expire: partial |  | ||||||
|  |  | ||||||
|     test: |  | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |  | ||||||
|       - name: expire |  | ||||||
|         total: 4 |  | ||||||
|  |  | ||||||
|   # ******************************************************************************************************************************** |   # ******************************************************************************************************************************** | ||||||
|   - name: manifest |   - name: manifest | ||||||
|  |     container: true | ||||||
|  |  | ||||||
|     test: |     test: | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|       - name: all |       - name: all | ||||||
|         total: 9 |         total: 9 | ||||||
|         container: true |  | ||||||
|  |  | ||||||
|         coverage: |         coverage: | ||||||
|           Manifest: partial |           Manifest: partial | ||||||
|  |  | ||||||
|   # ******************************************************************************************************************************** |   # ******************************************************************************************************************************** | ||||||
|   - name: stanza |   - name: stanza | ||||||
|  |     container: true | ||||||
|  |  | ||||||
|     test: |     test: | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|       - name: all |       - name: all | ||||||
|         total: 9 |         total: 9 | ||||||
|         container: true |  | ||||||
|  |  | ||||||
|         coverage: |         coverage: | ||||||
|           Stanza: full |           Stanza: full | ||||||
| @@ -631,28 +611,36 @@ module: | |||||||
|     expect: true |     expect: true | ||||||
|  |  | ||||||
|     test: |     test: | ||||||
|  |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|  |       - name: stanza | ||||||
|  |         total: 3 | ||||||
|  |  | ||||||
|  |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|  |       - name: expire | ||||||
|  |         total: 4 | ||||||
|  |  | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|       - name: archive |       - name: archive | ||||||
|         total: 3 |         total: 3 | ||||||
|  |  | ||||||
|  |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|  |       - name: archive-stop | ||||||
|  |         total: 7 | ||||||
|  |  | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|       - name: all |       - name: all | ||||||
|         total: 3 |         total: 3 | ||||||
|  |  | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |  | ||||||
|       - name: stanza |  | ||||||
|         total: 3 |  | ||||||
|  |  | ||||||
|   # ******************************************************************************************************************************** |   # ******************************************************************************************************************************** | ||||||
|   - name: real |   - name: real | ||||||
|  |     individual: true | ||||||
|     expect: true |     expect: true | ||||||
|  |     db: true | ||||||
|  |  | ||||||
|     test: |     test: | ||||||
|       # ---------------------------------------------------------------------------------------------------------------------------- |       # ---------------------------------------------------------------------------------------------------------------------------- | ||||||
|       - name: all |       - name: all | ||||||
|         total: 6 |         total: 6 | ||||||
|         individual: true |  | ||||||
|         db: true |  | ||||||
|  |  | ||||||
|   # ******************************************************************************************************************************** |   # ******************************************************************************************************************************** | ||||||
|   - name: performance |   - name: performance | ||||||
|   | |||||||
| @@ -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'; | use parent 'pgBackRestTest::Env::HostEnvTest'; | ||||||
| 
 | 
 | ||||||
| #################################################################################################################################### | #################################################################################################################################### | ||||||
| @@ -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'; | use parent 'pgBackRestTest::Env::HostEnvTest'; | ||||||
| 
 | 
 | ||||||
| #################################################################################################################################### | #################################################################################################################################### | ||||||
		Reference in New Issue
	
	Block a user