Giter VIP home page Giter VIP logo

components-ness-pg's People

Contributors

cgc avatar hgschmie avatar stevenschlansker avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

components-ness-pg's Issues

Fails with recent Guava versions

Closeables.closeQuietly(Closeable) has been removed in Guava 16, so this fails now:

java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
    at com.nesscomputing.db.postgres.embedded.EmbeddedPostgreSQL.close(EmbeddedPostgreSQL.java:280)
    at com.nesscomputing.db.postgres.embedded.EmbeddedPostgreSQLRule.after(EmbeddedPostgreSQLRule.java:48)
    at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
    at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
    at org.junit.rules.RunRules.evaluate(RunRules.java:20)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
    at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Setup project in Travis CI

Since downstream projects like Presto use this when building in Travis CI, it would be great to have this also use Travis CI to verify compatibility (which is currently broken). Plus Travis CI is pretty awesome :)

Ubuntu/Debian libssl and libcrypto shared libraries not found

Thanks for the project! One of my colleagues heard about it from a conference and we're just trying it out and it's working great.

There is one small problem where it seems to be necessary to add symlinks for /lib/x86_64-linux-gnu/libssl.so.1.0.0 and /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 on Debian-flavoured Linux's to libssl.so.10 and libcrypto.so.10 respectively. Wondering if there's an easy fix for this... For example there are a few other so files in the unpacked lib folder, would it be possible to somehow tar them up as well?

Failure to start after unclean shutdown

When I kill a test run without giving the junit rule a chance to proper shutdown PG, I can't rerun the test without first deleting the PG instance's temporary folder:

09:45:22.118 [main] INFO  c.n.d.p.embedded.EmbeddedPostgreSQL - Detected a Darwin x86_64 system
09:45:22.270 [main] INFO  c.n.d.p.embedded.EmbeddedPostgreSQL - Postgres binaries at /var/folders/7v/fj0xwdn97qn1qq48y8dl7b_w0000gn/T/embedded-pg/PG-04fcf92a7d0b707185e4a38efeb68442
09:45:22.340 [main] INFO  c.n.d.p.embedded.EmbeddedPostgreSQL - Found stale data directory /var/folders/7v/fj0xwdn97qn1qq48y8dl7b_w0000gn/T/embedded-pg/6c0476ac-f3d2-4566-bd58-d0886c6fefb7

java.lang.IllegalStateException: Process [/var/folders/7v/fj0xwdn97qn1qq48y8dl7b_w0000gn/T/embedded-pg/PG-04fcf92a7d0b707185e4a38efeb68442/bin/pg_ctl, -D, /var/folders/7v/fj0xwdn97qn1qq48y8dl7b_w0000gn/T/embedded-pg/6c0476ac-f3d2-4566-bd58-d0886c6fefb7, stop, -m, fast, -t, 5, -w] failed
pg_ctl: could not send stop signal (PID: 72218): No such process

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.