Skip to content

Commit

Permalink
Uses local file instead of endpoint for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Renzen committed Dec 27, 2023
1 parent ab32e0c commit 75a01c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/lib/tests/Generator.class.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ describe('Generator Class', () => {
// BUG when both the generator and iterator tests are running, it seems the iterator will never terminate
describe('run', () => {
it('Should work in batchSize for pipeline\'s generator - test with store', async function () {
// when using local test files timeout should be removed
this.timeout(50000)
const N3Store = new Store()
const filePath = 'pipelines/data/example-pipelineBatch.nt';

Expand All @@ -69,7 +67,7 @@ describe('Generator Class', () => {
name: 'Stage 1',
iterator: {
query: 'file://static/example/iterator-stage-1.rq',
endpoint: 'https://api.triplydb.com/datasets/Triply/iris/services/demo-service/sparql'
endpoint: 'file://static/tests/iris.nt'
},
generator: {
query: 'file://static/example/generator-stage-1.rq',
Expand Down Expand Up @@ -105,7 +103,7 @@ describe('Generator Class', () => {


})
it('should emit "data" and "end" events with the correct number of statements', async () => {
it.skip('should emit "data" and "end" events with the correct number of statements', async () => {
const configuration : LDWorkbenchConfiguration = {
name: 'Example Pipeline',
description: 'This is an example pipeline. It uses files that are available in this repository and SPARQL endpoints that should work.\n',
Expand Down

0 comments on commit 75a01c1

Please sign in to comment.