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

Start Docker from Java for server RPM tests #2064

Merged
merged 1 commit into from Nov 20, 2019

Conversation

electrum
Copy link
Member

No description provided.

// install RPM
"rpm -i /target/" + rpm + "\n" +
// create Hive catalog file
"mkdir /etc/presto/catalog\n" +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/etc/presto/catalog should be part of RPM

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not today, and I don't see anything which should be creating it. Perhaps we should do so in postinstall?

"hive.metastore.uri=thrift://localhost:9083\n" +
"EOT\n" +
// start server
"/etc/init.d/presto start\n" +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

service presto start

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like our image does not include that command

@@ -55,6 +55,8 @@
<dep.tempto.version>166</dep.tempto.version>
<dep.testng.version>6.10</dep.testng.version>
<dep.assertj-core.version>3.8.0</dep.assertj-core.version>
<!-- TODO: remove after updating to Airbase 94 -->
<dep.slf4j.version>1.7.28</dep.slf4j.version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how this relates to test change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These version updates are needed to satisfy RequireUpperBoundDeps due to testcontainers using newer versions.

pom.xml Show resolved Hide resolved
@electrum electrum merged commit d2ed29d into trinodb:master Nov 20, 2019
@electrum electrum deleted the rpmtest branch November 20, 2019 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants