fix(tvix/boot/tests): disable otlp
We don't have a OTLP collector inside the Nix build, this removes some noise from the log about not being able to reach it. Change-Id: I058839c8f214821b536306c8c30e1a8e7192153b Reviewed-on: https://cl.tvl.fyi/c/depot/+/11189 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com>
This commit is contained in:
		
							parent
							
								
									997b59e452
								
							
						
					
					
						commit
						898830b332
					
				
					 2 changed files with 8 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -83,7 +83,7 @@ rec {
 | 
			
		|||
    trap cleanup EXIT
 | 
			
		||||
 | 
			
		||||
    # Spin up the virtiofs daemon
 | 
			
		||||
    tvix-store virtiofs -l $tempdir/tvix.sock &
 | 
			
		||||
    tvix-store --otlp=false virtiofs -l $tempdir/tvix.sock &
 | 
			
		||||
    virtiofsd_pid=$!
 | 
			
		||||
 | 
			
		||||
    # Wait for the socket to exist.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -42,7 +42,9 @@ let
 | 
			
		|||
          BLOB_SERVICE_ADDR=${blobServiceAddr} \
 | 
			
		||||
            DIRECTORY_SERVICE_ADDR=${directoryServiceAddr} \
 | 
			
		||||
            PATH_INFO_SERVICE_ADDR=${pathInfoServiceAddr} \
 | 
			
		||||
            tvix-store daemon -l $PWD/tvix-store.sock &
 | 
			
		||||
            tvix-store \
 | 
			
		||||
              --otlp=false \
 | 
			
		||||
              daemon -l $PWD/tvix-store.sock &
 | 
			
		||||
 | 
			
		||||
          # Wait for the socket to be created.
 | 
			
		||||
          while [ ! -e $PWD/tvix-store.sock ]; do sleep 1; done
 | 
			
		||||
| 
						 | 
				
			
			@ -60,7 +62,10 @@ let
 | 
			
		|||
          echo "imported to $outpath"
 | 
			
		||||
        '' + lib.optionalString (isClosure) ''
 | 
			
		||||
          echo "Starting nar-bridge…"
 | 
			
		||||
          nar-bridge-http --store-addr=unix://$PWD/tvix-store.sock --listen-addr=$PWD/nar-bridge.sock &
 | 
			
		||||
          nar-bridge-http \
 | 
			
		||||
            --otlp=false \
 | 
			
		||||
            --store-addr=unix://$PWD/tvix-store.sock \
 | 
			
		||||
            --listen-addr=$PWD/nar-bridge.sock &
 | 
			
		||||
 | 
			
		||||
          # Wait for the socket to be created.
 | 
			
		||||
          while [ ! -e $PWD/nar-bridge.sock ]; do sleep 1; done
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue