Skip to content

Commit

Permalink
test: Remove HTTP output tests now that we do not permit HTTP output
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyparrish committed Oct 28, 2024
1 parent 5241e18 commit 050f82e
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

const flaskServerUrl = 'http://localhost:5000/';
const outputHttpUrl = 'http://localhost:80/';
const dashManifestUrl = flaskServerUrl + 'output_files/dash.mpd';
const hlsManifestUrl = flaskServerUrl + 'output_files/hls.m3u8';
const OUTPUT_DIR = 'output_files/'
Expand Down Expand Up @@ -396,33 +395,6 @@ function errorTests() {
}));
});

it('fails when segment_per_file is false with a HTTP url output', async () => {
const inputConfig = getBasicInputConfig();
const pipelineConfig = {
streaming_mode: 'vod',
resolutions: [],
segment_per_file: false,
};

await expectAsync(startStreamer(inputConfig, pipelineConfig, {}, outputHttpUrl))
.toBeRejectedWith(jasmine.objectContaining({
error_type: 'RuntimeError',
}));
});

it('fails when multiperiod_inputs_list is used with a HTTP url output', async () => {
const inputConfig = {
'multiperiod_inputs_list': [
getBasicInputConfig(),
],
};

await expectAsync(startStreamer(inputConfig, minimalPipelineConfig, {}, outputHttpUrl))
.toBeRejectedWith(jasmine.objectContaining({
error_type: 'RuntimeError',
}));
});

it('fails when utc_timing is not set for low_latency_dash_mode', async () => {
const inputConfig = getBasicInputConfig();
const pipelineConfig = {
Expand Down

0 comments on commit 050f82e

Please sign in to comment.