Skip to content

Commit

Permalink
try fixing e2e error
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Nowak-Liebiediew committed May 8, 2023
1 parent ce44638 commit 9280321
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions e2e/utils/_.bash
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ dfx_patchelf() {
echo dfx = "$(which dfx)"
CACHE_DIR="$(dfx cache show)"

dfx cache install

# Both ldd and iconv are providedin glibc.bin package
LD_LINUX_SO=$(ldd "$(which iconv)"|grep ld-linux-x86|cut -d' ' -f3)
for binary in ic-starter icx-proxy replica; do
Expand Down Expand Up @@ -133,6 +131,9 @@ determine_network_directory() {
# Start the replica in the background.
dfx_start() {
local port dfx_config_root webserver_port

dfx cache install

dfx_patchelf

# Start on random port for parallel test execution
Expand Down
3 changes: 0 additions & 3 deletions src/dfx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ fn main() {
Ok(env) => {
maybe_redirect_dfx(env.get_version()).map_or((), |_| unreachable!());
match EnvironmentImpl::new().map(|env| {
env.get_cache()
.get_binary_command_path("xyz")
.unwrap_or_default();
env.with_logger(log)
.with_identity_override(identity)
.with_verbose_level(verbose_level)
Expand Down

0 comments on commit 9280321

Please sign in to comment.