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

Fix MiniKubeTest.testJobCancelled #287

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
revert code
coderzc committed Nov 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 01eb1aa9380a3350e7bcc7b6f43500002f6a9abc
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ jobs:
with:
path: ~/hadoop-3.3.2.tar.gz
key: ${{ runner.os }}--hadoop
restore-keys: ${{ runner.os }}--hadoop
restore-keys: ${{ runner.os }}-hadoop

- name: Download HDFS
if: steps.hdfs-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change
@@ -51,7 +51,6 @@
import org.apache.hugegraph.util.Log;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.RepeatedTest;
import org.mockito.Mockito;
import org.slf4j.Logger;

@@ -223,7 +222,7 @@ public void testUnSchedulable() {
future.cancel(true);
}

@RepeatedTest(20)
@Test
public void testJobCancelled() {
super.updateOptions(KubeSpecOptions.MASTER_ARGS.name(),
Lists.newArrayList("pwd && sleep 60"));