Comments (1)
I faced the similar issue running tests on Windows machine (with Ubuntu 22.04 image, provided by WSL2). That's how I found this topic.
I tried to break down test task into to smaller tasks. Running that compose command in terminal for example. (It's my first experience both with docker & WSL, so solution could be not optimal :) )
What I found:
GOPATH
. Compose is expecting reference to some accessible directory where it could store go packages and put dgraph binary. Real gopath in/usr/local
didn't work. So I've just created directory on the same level as cloned dgraph repo (and added 'bin' directory inside it). And exported it's full path to env variableexport GOPATH=/mnt/C/....
- Networking. It's WSL2-speciefic issue. Snaps are not working. Docker containers have issues connecting to each other. Host-wsl network are not possible by default. Just enabled network mirroring in .wslconfig. Solved all the issues for dev environment.
- Linking go runtime with libc. Ubuntu 22.04 image has version 2.35, dgraph binary is expecting 2.32-2.34. Quick fix is here: #8701 (comment) Just change the base image from 20.04 to 22.04
I managed to launch tests and they are passing up to 12th in the best case. Sometimes failed on first. But I think it's another issue.
from dgraph.
Related Issues (20)
- [FEATURE]: @custom directive to make batch requests to services that accept them
- [QUESTION]: <Snapshot Isolation Testing> HOT 20
- [QUESTION]: IDE for DQL HOT 2
- [QUESTION]: data writing is slow HOT 2
- [BUG]: Online Restore graphql API has no interface to get status
- [ENHANCEMENT]: Simplify Administrative Operations with REST API
- [ENHANCEMENT]: Support case-insensitive sorting of strings HOT 1
- [QUESTION]: full text search - Polish lang support HOT 1
- [ENHANCEMENT]: Sorting using facets
- [BUG]: crash gracefully when dgraph binary version is incompatible with data on disk HOT 3
- [How to use regexp in @filter]: <regexp use> HOT 3
- dgraph performance
- Query profiler: Add an ability to get performance statistics of queries
- [BUG]: Dgraph.Allow-Origin CORS setting does not work as docs claim
- [QUESTION]: Can i write some extension for db
- Can you recommend several graphic libraries that display graph data on the web or Flutter side?
- [BUG]: When build oss degraph alpha exit with error : flags: acl / encryption is an enterprise-only feature
- Cancel schema and improve it to automatically generate schema, modify schema, and update schema based on data without human intervention, and ensure compatibility with historical data. HOT 1
- /run.sh: line 16: dgraph-ratel: command not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgraph.