Skip to content

Commit

Permalink
Enable Redis Unix socket for swss-common tests (sonic-net#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-su authored Jul 20, 2020
1 parent fdbeb11 commit 730b8c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/common/sonic-swss-common-build/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
sudo pip install Pympler==0.8
sudo apt-get install -y redis-server
sudo sed -i 's/notify-keyspace-events ""/notify-keyspace-events AKE/' /etc/redis/redis.conf
sudo sed -ri 's/^# unixsocket/unixsocket/' /etc/redis/redis.conf
sudo sed -ri 's/^unixsocketperm .../unixsocketperm 777/' /etc/redis/redis.conf
sudo sed -ri 's/redis-server.sock/redis.sock/' /etc/redis/redis.conf
sudo service redis-server restart

sudo dpkg -i libswsscommon_*.deb
Expand Down

0 comments on commit 730b8c6

Please sign in to comment.