Skip to content

Commit 11da0eb

Browse files
committed
try one more time on macos
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent 285036a commit 11da0eb

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

plotly/src/plot.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ mod tests {
761761
assert!(!dst.exists());
762762
}
763763

764-
#[cfg(not(target_os = "macos"))]
764+
// #[cfg(not(target_os = "macos"))]
765765
#[test]
766766
#[cfg(feature = "kaleido")]
767767
fn test_save_to_jpeg() {
@@ -773,7 +773,7 @@ mod tests {
773773
assert!(!dst.exists());
774774
}
775775

776-
#[cfg(not(target_os = "macos"))]
776+
// #[cfg(not(target_os = "macos"))]
777777
#[test]
778778
#[cfg(feature = "kaleido")]
779779
fn test_save_to_svg() {
@@ -822,7 +822,7 @@ mod tests {
822822
}
823823

824824
#[test]
825-
#[ignore] // Fails in the CI
825+
// #[ignore] // Fails in the CI
826826
#[cfg(not(target_os = "macos"))]
827827
#[cfg(feature = "kaleido")]
828828
fn test_image_to_base64() {
@@ -851,7 +851,7 @@ mod tests {
851851
}
852852

853853
#[test]
854-
#[ignore] // Fails in the CI
854+
// #[ignore] // Fails in the CI
855855
#[cfg(not(target_os = "macos"))]
856856
#[cfg(feature = "kaleido")]
857857
fn test_image_to_svg_string() {

plotly_kaleido/src/lib.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl Kaleido {
198198
"--disable-software-rasterizer",
199199
"--single-process",
200200
"--disable-gpu",
201-
"--timeout 2000",
201+
"--no-sandbox",
202202
])
203203
.stdin(Stdio::piped())
204204
.stdout(Stdio::piped())
@@ -237,6 +237,13 @@ impl Kaleido {
237237
}
238238
}
239239

240+
let stderr = process.stderr.take().unwrap();
241+
let stderr_lines = BufReader::new(stderr).lines();
242+
for line in stderr_lines {
243+
let line = line.unwrap();
244+
eprintln!("{}", line);
245+
}
246+
240247
Ok(String::default())
241248
}
242249
}

0 commit comments

Comments
 (0)