(projectId, zone, instanceName)
| 34 | const delay = ms => new Promise(res => setTimeout(res, ms)); |
| 35 | |
| 36 | const getInstance = async (projectId, zone, instanceName) => { |
| 37 | const [instance] = await instancesClient.get({ |
| 38 | project: projectId, |
| 39 | zone, |
| 40 | instance: instanceName, |
| 41 | }); |
| 42 | return instance; |
| 43 | }; |
| 44 | |
| 45 | after(async () => { |
| 46 | const instances = await getStaleVMInstances(); |
no test coverage detected