Each time I start localstack with testcontainers, when I create the Neptune server instance localstack is downloading and installing a Gremlin server to emulate Neptune. This slows down very much my integration tests. Can I avoid this? I can't find any info on this in the official documentation.
Is it possible to prevent Localstack from downloading the Gremlin server every time?
57 Views Asked by CptWasp At
1
There are 1 best solutions below
Related Questions in AMAZON-NEPTUNE
- Gremlin, get two vertices that both have an edge to each other
- Extract Only Values as csv format in gremlin
- Amazon Neptune full text search query not working as expected
- Gremlin: ConcurrentModificationException and multithreading
- Gremlin: OLAP vs dividing query
- gremlin id column extraction - GLUE
- Add Additional Property to Neptune DB
- How to do MERGE method like cypher in gremlin
- Update a vertex and a all its child vertexes and edges
- Getting nested object under path is not of nested type in elasticsearch query
- AWS Neptune workbench visualisation
- unable to connect to neptune database instance from tinkerpop
- Gremlin (Neptune) somewhat complex query doesn't show edges properties
- Running into uvloop issues with Database queries from Rasa-X?
- Gremlin equivalent of an opencypher query
Related Questions in LOCALSTACK
- Lambda function cannot "translate" RDS endpoint despite pointing directly at it?
- LocalStack API Gateway Not Triggering Lambda Function from HTML Form Submission
- Localstack [Errno 8] Exec format error: '/etc/localstack/init/ready.d/setup.sh'
- Docker LocalStack Extension error: localstack.utils.bootstrap : Error while creating container: Docker process returned with errorcode 1?
- Cognito-signed-up users remain unverified despite auto_verified_attributes = ["email"]?
- AWS CDK Localstack error: "Unable to connect to AWS: The security token included in this request is invalid."
- How can I make my localstack script file executable for docker-compose
- Running Localstack SQS using Docker Compose; While starting container giving error '/tmp/localstack': Device or resource busy
- Changing LocalStack Account ID to a Custom Value (not defualt 000000000000)
- s3bucketnotifications aren't working with localstack and docker
- Error when running localstack in kubernetes
- Localstack lambda throwing "handler not set" error
- Self hosted GitHub action running local stack in docker , Not able to access localhost:4566,
- How do I get LocalStackContainer to correctly run an init script?
- Is it possible to prevent Localstack from downloading the Gremlin server every time?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is a bit tricky. In general it's possible to configure Testcontainers and define a mount for
/var/lib/localstack(which is what you would do when running LocalStack in standalone, see also https://docs.localstack.cloud/references/filesystem/#localstack-volume).Testcontainers provide the function
withFileSystemBindfor that purpose.Your code would look something like this:
Using this bind-mount you will see a subfolder
libwhere the gremlin/tinkerpop server will be loaded. On re-run it will not be downloaded anymore because it's already there.But:
tmpfolder potentially has some left over data that will interfere with subsequent test runs.So you would need to manually cleanup the
tmpfolder in the mounted directory (in my sample it's a subdirectory oftmp-testcontainer).Hope that helps!