Skip to content

Commit

Permalink
EQL e2e test and integration tag (#88)
Browse files Browse the repository at this point in the history
This first integrations test.

1. These will not be run on PR verification
2. You may run these tests here:
https://github.com/QuesmaOrg/quesma/actions/workflows/e2e-tests.yml

Tests are OK: 

https://github.com/QuesmaOrg/quesma/actions/runs/9061758790/job/24894224722
  • Loading branch information
nablaone authored May 13, 2024
1 parent 7b6a988 commit c80b8c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package e2e

import (
Expand All @@ -11,15 +13,8 @@ import (
// Tests requires Quesma and Elastic to be running.
// Queries are run against both Quesma and Elastic and results are compared.

var runTests = false

func TestE2E(t *testing.T) {

if !runTests {
t.Skip("Tests are disabled. To enable them, set the condition to false.")
return
}

// These are the queries that are run against both Quesma and Elastic.
// Queries start with a "--" are skipped.
var eqlQueries = []string{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package e2e

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package e2e

import (
Expand Down

0 comments on commit c80b8c6

Please sign in to comment.