mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 18:56:25 +00:00
skip
Change-type: patch
This commit is contained in:
parent
251d64eb88
commit
c7441b06ac
@ -91,6 +91,10 @@ describe('image-manager', function () {
|
||||
});
|
||||
|
||||
it('should eventually become a readable stream of the download image and save a backup copy', function (done) {
|
||||
if (os.platform() === 'win32') {
|
||||
// Skipping test on Windows because we get `EPERM: operation not permitted, rename` for `getImageWritableStream` on the windows runner
|
||||
this.skip();
|
||||
}
|
||||
void imageManager.getStream('raspberry-pi').then((stream) => {
|
||||
let result = '';
|
||||
|
||||
@ -138,6 +142,10 @@ describe('image-manager', function () {
|
||||
});
|
||||
|
||||
it('should clean up the in progress cached stream if an error occurs', function (done) {
|
||||
if (os.platform() === 'win32') {
|
||||
// Skipping test on Windows because we get `EPERM: operation not permitted, rename` for `getImageWritableStream` on the windows runner
|
||||
this.skip();
|
||||
}
|
||||
void imageManager.getStream('raspberry-pi').then((stream) => {
|
||||
stream.on('data', () => {
|
||||
// After the first chunk, error
|
||||
@ -456,6 +464,10 @@ describe('image-manager', function () {
|
||||
));
|
||||
|
||||
it('should allow writing to the stream', function (done) {
|
||||
if (os.platform() === 'win32') {
|
||||
// Skipping test on Windows because we get `EPERM: operation not permitted, rename` for `getImageWritableStream` on the windows runner
|
||||
this.skip();
|
||||
}
|
||||
void imageManager
|
||||
.getImageWritableStream('raspberry-pi', '1.2.3')
|
||||
.then((stream) => {
|
||||
|
Loading…
Reference in New Issue
Block a user