Unverified Commit 047433f4 authored by Alexander Bantyev's avatar Alexander Bantyev Committed by GitHub
Browse files

Merge pull request #313243 from AleXoundOS/castopod

nixosTests.castopod: fix timeout
parents 06683c1a 992735db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
            driver = Firefox(options=options, service=service)
            driver = Firefox(options=options)
            driver.implicitly_wait(30)
            driver.set_page_load_timeout(60)

            # install ##########################################################

@@ -207,7 +208,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
            text = ''
              out=/tmp/podcast.mp3
              sox -n -r 48000 -t wav - synth ${targetPodcastDuration} sine 440 `
              `| lame --noreplaygain -cbr -q 9 -b 320 - $out
              `| lame --noreplaygain --cbr -q 9 -b 320 - $out
              FILESIZE="$(stat -c%s $out)"
              [ "$FILESIZE" -gt 0 ]
              [ "$FILESIZE" -le "${toString targetPodcastSize}" ]