Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Enable temporary disabled github workflow-only failing QueryExprWithQueryConstructTypeTest.testNegativeScenarios #43339

Open
lochana-chathura opened this issue Aug 30, 2024 · 0 comments
Labels
Area/SemtypeIntegration Issue related to integrating semtype engine Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug

Comments

@lochana-chathura
Copy link
Member

lochana-chathura commented Aug 30, 2024

Description

$subject.

The test was disabled with cceeb84 in #43303 in nutcracker branch.

The test is passing locally. However, failing in the github Ubuntu and Windows builds.

When the test is run separately with the following workflow, it gets passed in the workflow. Hence, the original failuture could be due to a conflict with the other tests. Need to investigate.

name: CI GITHUB FAILING TEST RUN

on:
  pull_request:
    branches:
      - nutcracker

jobs:
  run_query_expr_tests:
    name: Run QueryExprWithQueryConstructTypeTest on Ubuntu
    runs-on: ubuntu-latest
    timeout-minutes: 5
    concurrency:
      group: ${{ github.head_ref }}-ubuntu
      cancel-in-progress: true

    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Set up JDK 17
        uses: actions/setup-java@v4
        with:
          distribution: 'temurin'
          java-version: '17.0.7'

      - name: Initialize sub-modules
        run: git submodule update --init

      - name: Cache Gradle packages
        uses: actions/cache@v4
        with:
          path: ~/.gradle/caches
          key: ${{ runner.os }}-gradle-${{ github.sha }}
          restore-keys: ${{ runner.os }}-gradle

      - name: Build and Run Tests
        run: ./gradlew :jballerina-unit-test:test --tests "org.ballerinalang.test.query.QueryExprWithQueryConstructTypeTest"

Affected Version(s)

Nutcracker branch

@lochana-chathura lochana-chathura added Type/Bug Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Area/SemtypeIntegration Issue related to integrating semtype engine labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/SemtypeIntegration Issue related to integrating semtype engine Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug
Projects
None yet
Development

No branches or pull requests

1 participant