test(integration): upgrade the gitbox image to support arm architecture in addition to x86 (#2516)
This commit is contained in:
		
							parent
							
								
									846f4c23b9
								
							
						
					
					
						commit
						3bbf08c9d0
					
				| @ -3,7 +3,7 @@ const getStream = require('get-stream'); | ||||
| const pRetry = require('p-retry'); | ||||
| const {initBareRepo, gitShallowClone} = require('./git-utils'); | ||||
| 
 | ||||
| const IMAGE = 'pvdlg/docker-gitbox:latest'; | ||||
| const IMAGE = 'semanticrelease/docker-gitbox:latest'; | ||||
| const SERVER_PORT = 80; | ||||
| const HOST_PORT = 2080; | ||||
| const SERVER_HOST = 'localhost'; | ||||
|  | ||||
| @ -36,7 +36,7 @@ async function start() { | ||||
| } | ||||
| 
 | ||||
| /** | ||||
|  * Stop and remote the `mockserver` Docker container. | ||||
|  * Stop and remove the `mockserver` Docker container. | ||||
|  */ | ||||
| async function stop() { | ||||
|   await container.stop(); | ||||
| @ -91,7 +91,7 @@ async function mock( | ||||
| } | ||||
| 
 | ||||
| /** | ||||
|  * Verify the `mockserver` has been called with a requestion matching expectations. The `expectation` is created with the `mock` function. | ||||
|  * Verify the `mockserver` has been called with a request matching expectations. The `expectation` is created with the `mock` function. | ||||
|  * | ||||
|  * @param {Object} expectation The expectation created with `mock` function. | ||||
|  * @return {Promise} A Promise that resolves if the expectation is met or reject otherwise. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user