Skip to content

Commit

Permalink
[BACKWARD TESTS] add BookKeeper 4.14.4
Browse files Browse the repository at this point in the history
### Motivation
BK 4.14.4 has been released and we should test it in the upgrade tests

Note: for the sake of test performance, we test the upgrades only for the latest releases of each minor release 

### Changes

* Replaced BK 4.14.3 with 4.14.4


Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Andrey Yegorov <None>

This closes apache#2997 from nicoloboschi/tests/add-bk-4144-backward-compat
  • Loading branch information
nicoloboschi authored and lushiji committed Feb 16, 2022
1 parent 8e0ad18 commit ed19227
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Expand Up @@ -143,11 +143,11 @@ class TestCompatUpgrade {

@Test
public void test_006_4130to4143() throws Exception {
testUpgrade("4.13.0", "4.14.3")
testUpgrade("4.13.0", "4.14.4")
}

@Test
public void test_007_4143toCurrentMaster() throws Exception {
testUpgrade("4.14.3", BookKeeperClusterUtils.CURRENT_VERSION)
testUpgrade("4.14.4", BookKeeperClusterUtils.CURRENT_VERSION)
}
}
2 changes: 1 addition & 1 deletion tests/docker-images/all-released-versions-image/Dockerfile
Expand Up @@ -38,7 +38,7 @@ RUN wget -nv https://archive.apache.org/dist/bookkeeper/bookkeeper-4.10.0/bookke
RUN wget -nv https://archive.apache.org/dist/bookkeeper/bookkeeper-4.11.1/bookkeeper-server-4.11.1-bin.tar.gz{,.sha512,.asc}
RUN wget -nv https://archive.apache.org/dist/bookkeeper/bookkeeper-4.12.1/bookkeeper-server-4.12.1-bin.tar.gz{,.sha512,.asc}
RUN wget -nv https://archive.apache.org/dist/bookkeeper/bookkeeper-4.13.0/bookkeeper-server-4.13.0-bin.tar.gz{,.sha512,.asc}
RUN wget -nv https://archive.apache.org/dist/bookkeeper/bookkeeper-4.14.3/bookkeeper-server-4.14.3-bin.tar.gz{,.sha512,.asc}
RUN wget -nv https://archive.apache.org/dist/bookkeeper/bookkeeper-4.14.4/bookkeeper-server-4.14.4-bin.tar.gz{,.sha512,.asc}

RUN wget -nv https://archive.apache.org/dist/incubator/pulsar/pulsar-1.21.0-incubating/apache-pulsar-1.21.0-incubating-bin.tar.gz{,.asc}
RUN wget -nv https://dist.apache.org/repos/dist/release/bookkeeper/KEYS
Expand Down
Expand Up @@ -43,9 +43,10 @@
public class BookKeeperClusterUtils {
public static final String CURRENT_VERSION = System.getProperty("currentVersion");
public static final List<String> OLD_CLIENT_VERSIONS =
Arrays.asList("4.8.2", "4.9.2", "4.10.0", "4.11.1", "4.12.1", "4.13.0", "4.14.3");
Arrays.asList("4.8.2", "4.9.2", "4.10.0", "4.11.1", "4.12.1", "4.13.0", "4.14.4");
private static final List<String> OLD_CLIENT_VERSIONS_WITH_CURRENT_LEDGER_METADATA_FORMAT =
Arrays.asList("4.9.2", "4.10.0", "4.11.1", "4.12.1", "4.13.0", "4.14.3");
Arrays.asList("4.9.2", "4.10.0", "4.11.1", "4.12.1", "4.13.0", "4.14.4");


private static final Logger LOG = LoggerFactory.getLogger(BookKeeperClusterUtils.class);

Expand Down

0 comments on commit ed19227

Please sign in to comment.